| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Parse standalone 0 as integer | dibyendumajumdar | 2023-09-19 | 3 | -33/+30 |
| | | |||||
| * | Overhaul Lexer | Cliff Click | 2023-09-19 | 2 | -87/+103 |
| | | | | | | | | | | | | | Switched to bytes from chars, since we'll be parsing files eventually and typically compilers parse bytes from files (and not Java chars). Added a 'peek' to handle bad leading `--123` numbers. Used simpler number parsing; doesn't do doubles (yet). Added a filter for punctuation. Prior setup didn't handle multi-char punctuation like relation tests "<=". Switched the "EOF" marker char from 0 to Char.MAX_VALUE; harder to make mistakes, and simplifies the WS test. Switch javadoc comments to plain comments on private functions. Added tests for broken keyword, broken numbers, negative numbers. | ||||
| * | Fix a comp error | Cliff Click | 2023-09-19 | 1 | -1/+1 |
| | | | | | missed one in the merge | ||||
| * | Merge branch 'main' of https://github.com/dibyendumajumdar/Simple into pr/2 | Cliff Click | 2023-09-18 | 3 | -3/+7 |
| |\ | |||||
| | * | Update based on feedback | dibyendumajumdar | 2023-09-18 | 1 | -11/+11 |
| | | | |||||
| | * | Remove opcodes | dibyendumajumdar | 2023-09-18 | 7 | -39/+20 |
| | | | | | | | | | Make the IdGenerator an input to the Parser | ||||
| * | | More edits to Chpt 1 | Cliff Click | 2023-09-18 | 8 | -125/+82 |
| |/ | | | | | | | | Add the Evil static global var, with appriopriate comments. Drop the singleton class, and every place it had to be passed. Much smaller code now, and will be a LOT smaller as the project grows. Drop the opcode; minor usages in prior implementations for performance, not needed here. Use the preview pattern match in test code to simplify. | ||||
| * | Chapter 01 implementation | dibyendumajumdar | 2023-09-18 | 6 | -105/+206 |
| | | |||||
| * | Start on parser | dibyendumajumdar | 2023-09-17 | 7 | -30/+278 |
| | | |||||
| * | Revise description of Return node. | dibyendumajumdar | 2023-09-17 | 1 | -0/+3 |
| | | |||||
| * | Revise text and update diagram. | dibyendumajumdar | 2023-09-17 | 3 | -77/+55 |
| | | | | | Remove the detail re inputs to a node from the diagram. | ||||
| * | Add diagram | dibyendumajumdar | 2023-09-17 | 1 | -0/+10 |
| | | |||||
| * | Add diagram | dibyendumajumdar | 2023-09-17 | 2 | -0/+80 |
| | | |||||
| * | Revised text | dibyendumajumdar | 2023-09-17 | 1 | -6/+5 |
| | | |||||
| * | Fix typos | dibyendumajumdar | 2023-09-17 | 2 | -2/+2 |
| | | |||||
| * | Revised based on feedback | dibyendumajumdar | 2023-09-17 | 2 | -15/+18 |
| | | | | | Added descriptions of the nodes. | ||||
| * | Initial definition of nodes that will be relevant for chapter 1. | dibyendumajumdar | 2023-09-17 | 1 | -6/+29 |
| | | |||||
| * | Initial definition of nodes that will be relevant for chapter 1. | dibyendumajumdar | 2023-09-17 | 8 | -0/+196 |
| | | |||||
| * | Revise grammar for chapter 1. | dibyendumajumdar | 2023-09-17 | 2 | -24/+50 |
| | | | | | Start writing up Chapter 1. | ||||
| * | Drop AST and parser and lexer | dibyendumajumdar | 2023-09-07 | 6 | -776/+0 |
| | | |||||
| * | Corrected README | dibyendumajumdar | 2023-09-07 | 1 | -6/+1 |
| | | |||||
| * | Renamed Ast to AST. | dibyendumajumdar | 2023-09-07 | 2 | -42/+42 |
| | | |||||
| * | Removed all external code. | dibyendumajumdar | 2023-09-07 | 7 | -98/+334 |
| | | | | | | | 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 this | dibyendumajumdar | 2023-08-26 | 3 | -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. | dibyendumajumdar | 2023-08-26 | 3 | -74/+148 |
| | | | | | | | 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. | dibyendumajumdar | 2023-08-25 | 2 | -0/+49 |
| | | |||||
| * | Reorganized the project as multi-maven module | dibyendumajumdar | 2023-08-25 | 6 | -0/+481 |
| 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. | |||||
