readme
来自「java语法解释器生成器」· 代码 · 共 30 行
TXT
30 行
This directory contains a scanner for a toy programming language.It is the example from the JLex website with some small modifications,to make it a bit more readable.It does nothing really useful, because there is no parser for thetoy programming language. It's just a demonstatration how a small simplescanner looks like.files:YYtoken.java: the tokens returned by the scannerUtility.java: small class collecting some utility functionssimple.flex: the example specificationtest.txt: sample inputoutput.good: output matching the sample input from test.txtMakefile: (for Unix only) make to generate scanner and run test make clean to remove generated files
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?