Kevin Eady
0cd9412066
Properly scope the compiler includes to the Bscript folder. ( #360 )
2021-02-25 16:53:22 +01:00
Eric Swanson
4a033340bf
Disambiguator: figure out if label is a case statement dispatch selector, or should apply to a statement within the case dispatch group's block. ( #273 )
2020-09-05 21:52:56 -07:00
Eric Swanson
5e57733a68
New compiler: program declarations ( #246 )
...
Add:
- FunctionBody
- Program
- ProgramParameterDeclaration
- ProgramParameterList
Build AST for program sections and generate code for it
2020-08-28 22:45:07 -07:00
Eric Swanson
3a8ab09a56
Add Expression, Statement, Value AST base classes, and TopLevelStatements ( #229 )
...
* Add ast/ Expression, Statement, Value
* Add ast/TopLevelStatements
2020-08-17 22:53:03 -07:00
Eric Swanson
72bd179051
Add analyzer/Disambiguator stub ( #205 )
...
The Disambiguator will correct the AST based on context.
At present, it needs to handle ambiguities in the grammar between
case group selectors and named break/continue labels.
2020-08-11 08:21:34 +02:00