搜索资源列表
LR1
- 编译原理中的lr1分析程序, 主要实现功能:自动生成项目集族, 自动生成lr1分析表(action表和goto表), 对输入的句型进行分析-Compiler Principle lr1 analysis program, the main functions: automatic generation of item sets, which automatically generates lr1 analysis table (action table and goto tables), the
snow
- Demonstration of using Action instructions for creating the snowing effect.
compiler
- 类C语言编译器,基本上实现了主要功能的C语言语法,词法分析使用状态转移,语法使用LR(1)方法,自动生成ACTION和GOTO转移表。自顶向下的语法制导翻译,可以生成各种类型的表达式(包括布尔,算术,逻辑等等),循环中的while,选择中的if else 和if等,功能比较强大-Class C language compiler, basically realized the C language syntax, lexical analysis of the main features of
postfix-notation
- 1、给出文法如下: G[E] E->T|E+T T->F|T*F F->i(E) 对应的转化为逆波兰式的语义动作如下: E-> E(1)op E(2) {E.CODE:= E(1).CODE||E(2).CODE||op} E->(E(1)) { E.CODE := E(1).CODE} E->id { E.CODE := id} 2、利用实验5中的算符优先分析算法,结合上面给出的语义动作实现逆波兰式的构造
38yimaqi
- en为1时开始译码,en为0时不动作,完成38译码-En to 1 decoding, en 0 means that the translator is not action.Complete 3 to 8 decoding
