-
Notifications
You must be signed in to change notification settings - Fork 33
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
New Parser #42
Comments
Yeah, I was thinking the same, what are your thoughts? First, I think maybe moving the commands definitions to another file would be a good Idea, and then in the readme I would explain with examples how you could add a new command arg type, or a command itself. Also, of course, more description in the code never hurts. I can prepare a PR about this. |
@Toyz In order to close this Issue, do you think that we would need to insert in the readme or myabe in some contribution guide, how to insert a new command? I mean, descriptions do help, but I think we could make a straightforward tutorial. Also now there is something about validators and expressions I want to dig in :P |
We probably show insert into the contributions file regrading it |
I was thinking of using something like the original part 1 implementation. My rationale for this is that logo is a relatively simple language that requires tokens to be space separated. Lexer
There is nothing more complex in terms of tokens in logo. Parser
Interpreter
Thus,
|
The new Parser has a flaw in it's design as turtle graphics support float values and we cannot actually handle those currently...
Also the new way to add commands can be clunky at times and yield some issues with newer people wanting to contribute as there's no comments to what things are
The text was updated successfully, but these errors were encountered: