Website Summary Files Commits Branches @commit @diff @stats
path: root / homework / 81352 / ts2html / flex.sh
diff options
context:
space:
mode:
1 files changed, 5 insertions, 0 deletions
-rwxr-xr-xhomework/81352/ts2html/flex.sh5
diff --git a/homework/81352/ts2html/flex.sh b/homework/81352/ts2html/flex.sh
new file mode 100755
index 0000000..81f15b3
--- /dev/null
+++ b/homework/81352/ts2html/flex.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+flex ts2html.flex
+g++ -std=c++11 lex.yy.c highlighter.cpp token.cpp -o lexer
+./lexer $1
+rm lexer