summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Corrected READMEdibyendumajumdar2023-09-071-6/+1
|
* Renamed Ast to AST.dibyendumajumdar2023-09-072-42/+42
|
* Removed all external code.dibyendumajumdar2023-09-0725-9513/+335
| | | | | | Removed the common chapter. Reimplemented Lexer. Revised the list of chapters to something more accurate.
* Avoid using Node as a type as the IR will need thisdibyendumajumdar2023-08-263-131/+130
| | | | | So just extends the top level Ast class in all the subtypes. Also avoid holding reference to lexer in parser.
* Update the lexer, parser and AST to match the language definition.dibyendumajumdar2023-08-2614-347/+258
| | | | | | Add toString() method on AST nodes so that we can easily check the results of parsing. Remove AA lexer Move the Ecstasy lexer classes to one package, except Handy
* Added a grammar definition for chapter 01.dibyendumajumdar2023-08-253-1/+50
|
* Reorganized the project as multi-maven moduledibyendumajumdar2023-08-2538-402/+8892
| | | | | | | | Updated README Added language module with grammar Split the code into common and chapter01 modules. Removed a number of utility classes that were imported from AA. Added github workflow file.
* Implement parser for a simple language that roughly corresponds to appendix ↵dibyendumajumdar2023-08-216-6/+480
| | | | A in Aho's 2nd edition
* Added JCtools dependency and removed classes that were copied from theredibyendumajumdar2023-08-208-3162/+11
| | | | Removed the hash quality checks in Util as these access internals of maps in JCTools
* In this initial commit, following are included:dibyendumajumdar2023-08-2018-0/+4832
| | | | | | | util classes from AA Lexer code extracted from the Parse class. This is all draft as likely to change as we start creating the AST parser.
* Update README.mdCliff Click2023-08-191-0/+8
|
* Initial commitCliff Click2023-08-193-0/+227