JLex
共 3 篇文章
JLex 相关的电子技术资料,包括技术文档、应用笔记、电路设计、代码示例等,共 3 篇文章,持续更新中。
(1) 给定一段符合Pascal子集语法的语言
(1) 给定一段符合Pascal子集语法的语言,能成功转换成C语言;
(2) 一个简单的说明文档;
(3) 2007.7.14之前上传到ftp:// C07:C07@10.11.3.71/upload,用学号建立自己的目录;
(4) (可额外加分5分)若有出错处理功能,请在说明文档中写明可以处理哪几项错误。
注意事项:
(1) 两人一组
(2) 可以使用词法、语法自动生成工具,wind
JLex词法分析生成器
JLex词法分析生成器,可以用于生成简单词法分析器,java编写
To help you in writing an LL grammar, we have developed a tool to analyze a grammar and determine if
To help you in writing an LL grammar, we have developed a tool to analyze a grammar and determine if it is LL(1).
A jar file containing the class files can be downloaded here. Place this jar file i