From ceb31e1ce115a7c9a6f0cc365beeb1214b246622 Mon Sep 17 00:00:00 2001 From: Georgi Stefanov Date: Sat, 3 Nov 2018 22:13:19 +0200 Subject: Add foldable blocks in Golang 2 highlighter (#33) * initial commit * Add implementation using concatenation * Added block collapsing * Finish block collapsing * Fix nested blocks and + -> - when collapsing * Remove unnecessary files. * Add readme --- homework/81319/golang2html_code_fold/Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 homework/81319/golang2html_code_fold/Makefile (limited to 'homework/81319/golang2html_code_fold/Makefile') diff --git a/homework/81319/golang2html_code_fold/Makefile b/homework/81319/golang2html_code_fold/Makefile new file mode 100644 index 0000000..7367df5 --- /dev/null +++ b/homework/81319/golang2html_code_fold/Makefile @@ -0,0 +1,15 @@ +all: parser + +lexer_code.c: lexer.lex + flex -o lexer_code.c lexer.lex + +lexer: lexer_code.c + gcc lexer_code.c -o lexer + +parser.tab.c: parser.y + bison -d -v parser.y + +parser.tab.h: parser.tab.c + +parser: parser.tab.c parser.tab.h lexer_code.c + ${CC} ${CFLAGS} lexer_code.c parser.tab.c -o parser -- cgit v1.3.1-26-gb76a