Split compiler in two #2847
thevurv
started this conversation in
Suggestions
Replies: 1 comment 1 reply
-
wireil |
Beta Was this translation helpful? Give feedback.
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Compiler should not be validating code. It should just be emitting lua functions to run. There needs to be an analyzer step which validates your code and emits a typed AST / HIR.
This will open up the door to a new optimizer and faster validation times (not wasting your time on codegen)
Beta Was this translation helpful? Give feedback.
All reactions