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

Provide simple example parse and generate simple programming language. #45

Open
bung87 opened this issue Jun 6, 2020 · 2 comments
Open
Labels

Comments

@bung87
Copy link

bung87 commented Jun 6, 2020

It's still long way for me doing things after reading a whole book. if you could provide a simple example that would be huge helpful.

@loloicci
Copy link
Owner

loloicci commented Jun 13, 2020

We can provide an example of generating a parser of simple programming language.
It is a TODO.

What do you mean in "generate simple programming language"?
nimly is a lexer/parser generator and it is out of scope to support the full process to make compilers or processors.
However, nimly works like de fact tools (lex and yacc).
So, you can find easy examples using yacc and they are very helpful for you.
(for example, https://github.com/search?q=tinyc+yacc , https://github.com/search?q=interpreter+yacc)

@bung87
Copy link
Author

bung87 commented Jun 13, 2020

some kind of translation process is fine. anyway make it as a task to todo list is fine. this project looks good to me, maybe I just need enough knowledge to work with it. thanks for your suggestion, I'll take look at these.

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

No branches or pull requests

2 participants