diff options
| Commit | 97a58430a248b9ea89a7da0120cfceb0e6b11af5 (patch) | |
|---|---|---|
| Author | 2018-11-07 15:06:45 +0200 | |
| Committer | 2018-11-07 15:06:45 +0200 | |
| Files | 71bc769a2c4848d0bd40850b6ad94ea9e4fab3d3 /homework/45180/README.md | |
| IPL-97a58430a248b9ea89a7da0120cfceb0e6b11af5.tar IPL-97a58430a248b9ea89a7da0120cfceb0e6b11af5.tar.gz IPL-97a58430a248b9ea89a7da0120cfceb0e6b11af5.zip | ||
| Parent | 13f074686970cf037cbd8a4c492033bb7b14562d (diff) | |
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.
1 files changed, 19 insertions, 0 deletions
| -rw-r--r-- | homework/45180/README.md | 19 |
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 ``` |
