-
Notifications
You must be signed in to change notification settings - Fork 1
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
Begin work on lexing and parsing #3
Comments
Current thoughts on this right now:
* Matches up with what I plan for the shell in the future. By the time I feel this shell is "ready", I want to have any and all deps written from scratch. |
@TheOnAndOnlyZenomat This is what I wanted to bring up.
|
It sounds sensible to implement lexing and parsing. |
This is gonna be a hard task, I mean I totally vibe with the idea and I really like it, but it's gonna be hard^^ But let's do it |
Do you by chance have a good resource to start to read about that topic? |
Nah. But I can look around for some, and I do have previous experience |
Alright, sounds good. Do you have a link to such an example project, so that I can take a look at it? |
Yep! https://github.com/Phate6660/bcalc is a major one! |
By the way. I have started work on this. |
Hitting some breakthroughs! Expect a branch today :D |
Uh, sounding good. I am exited |
@TheOnAndOnlyZenomat Got a branch set up: https://github.com/Phate6660/crusty/tree/tok_lex_par So far with basic testing it should support alpha-numeric characters and quotes out of the box. |
Obviously it needs more development and testing and all that, but what do you think so far? |
It definitely looks good. I'll have to take a closer look at the code and play around with the code a bit to fully get it, but looks promising. |
Currently the REPL is very basic.
It uses basic pattern matching features on larger variable contents.
It's about to time to implement a lexer and parser to more accurately scan the line being entered.
And once I get lexing and parsing set up I can get going on the shell scripting side of things.
The text was updated successfully, but these errors were encountered: