📄 readme
字号:
A small JFlex+Cup exampleIt comes from a short article series in the Linux Gazette by RichardA. Sevenich and Christopher Lopes, titled "Compiler ConstructionTools". The article series starts athttp://www.linuxgazette.com/issue39/sevenich.htmlSmall changes and updates to newest JFlex+Cup versions by Gerwin KleinTo compile:>jflex lcalc.flex>java java_cup.Main < ycalc.cup>javac Main.javaTo run:>java Main test.txtFiles:Main.java demo of a main programMakefile makefile to compile and test the exampleREADME this filelcalc.flex the lexer specoutput.good how the output should look like for the testycalc.cup the parser spectest.txt sample input for testing
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -