Description: Complete support for EBNF notation;
Object-oriented parser design;
C++ output;
Deterministic bottom-up "shift-reduce" parsing;
SLR(1), LALR(1) and LR(1) table construction methods;
Automatic parse tree creation;
Possibility to output parse tree in XML format;
Verbose conflict diagnostics;
Generation of tree traverse procedures Platform: |
Size: 220189 |
Author: |
Hits:
Description: Complete support for EBNF notation; Object-oriented parser design; C++ output; Deterministic bottom-up "shift-reduce" parsing; SLR(1), LALR(1) and LR(1) table construction methods; Automatic parse tree creation; Possibility to output parse tree in XML format; Verbose conflict diagnostics; Generation of tree traverse procedures Platform: |
Size: 220160 |
Author:none |
Hits:
Description: 使用如下文法:
E ? E+T | T
T ? T*F | F
F ? (E) | id
2. 对于任意给定的输入串(词法记号流)进行语法分析,采用LR分析器来完成。手工构造LR分析表,利用移进-归约分析算法-Use the following grammar: E ? E+ T | TT ? T* F | FF ? (E) | id 2. For any given input string (lexical token stream) parsing, the use of LR parser to complete. LR analysis table constructed by hand using the shift- reduce analysis algorithm Platform: |
Size: 703488 |
Author:dmf |
Hits:
Description: 对于任意给定的输入串(词法记号流)进行语法分析,要求采用LR分析器来完成。手工构造LR分析表,利用移进-归约分析算法(P69 图3.12)输出(P70 表3.8)对应的动作部分。如:
输入:id*+id/(id+id)#
输出:移进
按 F->id归约
移进
error
-For any given input string (the lexical token stream) parsing, required by LR parser to complete. LR analysis table constructed by hand using the shift- reduce analysis algorithm (P69 Figure 3.12) output (P70 Table 3.8) corresponds to the action part. Such as: input: id*+ id/(id+ id)# Output: shift according to F-> id reduction shift error ... ... Platform: |
Size: 599040 |
Author:hanson |
Hits:
Description: 使用如下文法:
E E+T | T
T T*F | F
F (E) | id
实现:对于任意给定的输入串(词法记号流)进行语法分析,要求采用LR分析器来完成。手工构造LR分析表,利用移进-归约分析算法输出对应的动作部分。-Use the following syntax:E T E+T |* F F T T |F ( E ID ) |Implementation: for any given input string ( lexical mark flow ) syntax analysis, require the use of LR parser to complete. Manual construction of LR analysis table, using shift reduce parsing algorithm output corresponding to the movement of the part. Platform: |
Size: 1024 |
Author:fansofdetective |
Hits: