Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce an intermediate representation of the parsed tree #20

Open
Kineolyan opened this issue Dec 31, 2020 · 0 comments
Open

Introduce an intermediate representation of the parsed tree #20

Kineolyan opened this issue Dec 31, 2020 · 0 comments

Comments

@Kineolyan
Copy link
Owner

This would allow for multiple parsers to produce the same IR, not to have to reimplement the whole bytecode generation.
This would also allow for a Rust backend, though as the parser is currently in Rust, we could simply skip the bytecode generation and play with the existing representation.
This is not an important change, as it is more interesting to simulate an actual computer instead of adding parsers in other languages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant