Change the parser to build and AST and then run the program #78
thygesteffensen
started this conversation in
Ideas
Replies: 4 comments 1 reply
|
Constructing AST nodes gives os the ability to record which token generated the node, e.g. having alias can be recorded (and the position) and having the handler (i.e. the function implementation) class given to the AST node for later constructing and invocation |
0 replies
|
Functions implements abstract class and only provide protected function, to the abstract class can do something before execution, which the implementer shouldn't worry about |
0 replies
|
Typecheck with return type |
0 replies
|
Consider going to a parser generator instead and use time on error recovery |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Configure the Parser to build an AST instead of during it all in once.
This gives the ability to:
All reactions