You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a bit of a tall order but I reckon it will be doable. We need to go deeper. Writing the compiler to output Python will probably be most natural, but since the feature set is small (I don't see classes implemented) any language could work. Maybe C so we can actually do a full compilation process and get a working Compiwer binary. Some action steps:
Write a working interpreter in a lower-level target language that is restricted to the implemented feature-set of PythOwO
Test the compiler thoroughly enough that we can be sure it will translate PythOwO faithfully
Finally, translate the compiler to PythOwO
Build and ship the Compiwer
For reference, I would recommend looking a little into LoxLox, which is a Lox implementation of the simple language Lox. The only real barrier to implementing it directly is the use of classes. In addition there's the C implementation in Crafting Interpreters, which does fairly well without classes.
The text was updated successfully, but these errors were encountered:
Hey, you can tryout this project https://github.com/radon-project/radon because this projects are not maintaining. We will move a language together. It's very exciting. We have implement class feature in our project. Also standard library and third party imports.
This is a bit of a tall order but I reckon it will be doable. We need to go deeper. Writing the compiler to output Python will probably be most natural, but since the feature set is small (I don't see classes implemented) any language could work. Maybe C so we can actually do a full compilation process and get a working Compiwer binary. Some action steps:
For reference, I would recommend looking a little into LoxLox, which is a Lox implementation of the simple language Lox. The only real barrier to implementing it directly is the use of classes. In addition there's the C implementation in Crafting Interpreters, which does fairly well without classes.
The text was updated successfully, but these errors were encountered: