![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Hao语言
文章平均质量分 75
道法自然1990
这个作者很懒,什么都没留下…
展开
-
Hao语言--编译器工具类
package com.hao.haocompiler.utill; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; public class FileUtill { private String line = null; private File原创 2014-05-09 16:06:37 · 631 阅读 · 0 评论 -
Hao语言--描述文法的XML和加载的类
expression expression item + expression expression+item原创 2014-05-16 16:37:18 · 603 阅读 · 0 评论 -
Hao语言--文法:
Identifier=([a-z]+[A-Z]+[_]+[‘a’>=128]) Identifier=Identifier(Identifier+[0-9]) Sentence=variablestatementSentence|expressionSentence variablestatementSentence=typeidentifier variableNames;原创 2014-05-09 16:01:13 · 639 阅读 · 0 评论 -
Hao语言--词法分析程序
package com.hao.haocompiler.morphology; public class Context { protected static WordState spaceState; protected static WordState signState; protected static WordState numberState;原创 2014-05-09 16:03:24 · 686 阅读 · 0 评论