8000 Can the state machine be compiled directly into target language rather than to structures interpreted by the runtime? · Issue #100 · waxeye-org/waxeye · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Can the state machine be compiled directly into target language rather than to structures interpreted by the runtime? #100

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

Open
KOLANICH opened this issue Jan 28, 2020 · 1 comment

Comments

@KOLANICH
Copy link
Contributor

No description provided.

@KOLANICH KOLANICH changed the title Can the state machine be compiled directly into target language rather than to structures interpreted by interpreter? Can the state machine be compiled directly into target language rather than to structures interpreted by the runtime? Jan 28, 2020
@orlandohill
Copy link
Collaborator

Yes. If I understand correctly, any language that can be interpreted can also be compiled, and vice versa. The simplest way would be to have the compiler traverse the state machine and output the same code that the interpreter uses.

It's something that I had in mind to do later, but only as an optimization once more important features were done.

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

2 participants
0