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

Move compiler to C #1

Open
fabiensiron opened this issue Mar 5, 2016 · 0 comments
Open

Move compiler to C #1

fabiensiron opened this issue Mar 5, 2016 · 0 comments

Comments

@fabiensiron
Copy link
Owner

The tinypy compiler is currently composed of 3 python's modules: tokenize.py, parser.py and encode.py.
The compiler is already boostrapped in bc.c under a array of tpc (tinypy bytecode).
If the compiler is moved in C, the speed is improved and the debugging is easier.
Plus, one can correct some grammar mistakes: empty file, one litteral...

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

No branches or pull requests

2 participants
@fabiensiron and others