⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme

📁 編譯器的虛擬yacc工具
💻
字号:
The lex and yacc specification pairs in these directories are designed towork with visual_yacc.Each of the ch* files correspond to examples from the O'Reilly & Associates book"lex & yacc" by John R. Levine, Tony Mason & Doug Brown.  Each has been modifiedto work with visual_yacc.Example gram corresponds to a pascal-oid languageTo visualize a grammar, typevisual_yacc <fname>  where <fname> corresponds to a lex file <fname>.l and a yacc file <fname>.y  an optional -v flag can be used to see what is happening during    creation.This creates an executable.  The next step is to type:<fname>.out < <input_string>  where <input_string> is a file which contains some string in the language.    Sample input is given for each example (or will be in the near future).  This command will cause a motif window to appear on your screen.  The  visualization is controlled with several buttons:  start -- start the visualization  step  -- take a single step  multi-step -- take a user-defined number of steps  go  -- parse the entire input string  quit -- end the visualization 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -