From 97a58430a248b9ea89a7da0120cfceb0e6b11af5 Mon Sep 17 00:00:00 2001 From: Dobromir Ivanov Date: Wed, 7 Nov 2018 15:06:45 +0200 Subject: A (naive) golang implementation of a JavaScript lexer. (#18) Not that comments single line or multi line are not parsed. Numbers are parsed in the most naive way possible so don't expect miracles. --- homework/45180/README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 homework/45180/README.md (limited to 'homework/45180/README.md') diff --git a/homework/45180/README.md b/homework/45180/README.md new file mode 100644 index 0000000..3c56991 --- /dev/null +++ b/homework/45180/README.md @@ -0,0 +1,19 @@ +# Homework 1 +Create a xxx2html syntax highlighter for a language of your choice. + +### How to install and use the go toolchain + ++ [How to install the Go programming language](https://golang.org/doc/install) + +-------------- + +# Disclaimer + + - Written on my own, does not support comments (nor single line, neither multiline) + - Parsing numbers is done in the most naive way possible. For example if the + input is 2-3 it will be considered a single number. + + +# Running the whole thing + +``` go run lexer.go ./ingput.hs > output.html ``` -- cgit v1.3.1-26-gb76a