diff options
1 files changed, 0 insertions, 30 deletions
| -rw-r--r-- | homework/81319/golang2html/README.md | 30 |
diff --git a/homework/81319/golang2html/README.md b/homework/81319/golang2html/README.md deleted file mode 100644 index 63c5f53..0000000 --- a/homework/81319/golang2html/README.md +++ /dev/null @@ -1,30 +0,0 @@ -# How-to guide - -## Compiling the highlighter - -1. Transpile flex file to c file -``` -flex golang2html.flex -``` - -2. Compile the produced output file - -``` -gcc lex.yy.c -o lexer -``` - -The produced output is the 'lexer' file. You use it to highlight -your own golang source files. - -## Highlighting Golang code - -1. Create your own golang source file with whatever name you wish. For -this example, let your golang source be 'hello_world.go'. - -2. Produce the highlighted html output - -``` -./lexer hello_world.go > hello_world.html -``` - -## Enjoy |
