forked from beberlei/antlr-php-runtime
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTODO
More file actions
16 lines (11 loc) · 727 Bytes
/
TODO
File metadata and controls
16 lines (11 loc) · 727 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
- Lexer001Test in Python suite shows Lexer as Iterator. Implement that in PHP
- Refactor out expected tokens (type + text) iteration in the test into an assertion
- Refactor `State` into BaseRecognition Class (like in Python)
- Refactor `RuleReturnScope` into arrays?
- There are some $MEMO_* static variables, can we optimize them away somehow?
- Implement trivial examples to test Lexer and Parser, then switch to AST
generation, and then to full sync with ANTLRv3
- Add implementation of StringTemplate class in PHP
(StringTemplateGroup for cminus example)
- Add codegeneration files AST.stg ASTParser.stg ASTTreeParser.stg ST.stg AST.stg ASTTreeParser.stg
- examples: *See TODO in each subfolder.