Closed sergeyklay closed 2 years ago
@sergeyklay I think that's a great idea, and I believe it represents a valuable addition. It's a really clean template too, I'll plan on incorporating some of it's style. Thank you for raising the issue!
FYI, I'm working on a feature addition related to #33 that I'd like to have incorporated in the next week or so. I'll plan on making this part of the changes to the documentation that issue will require.
Hey @sergeyklay , just checking in to say I haven't forgotten about this! I'm unsure what the timeline for this issue looks like at the moment but I thought I'd poll you for a little more info. Maybe you could provide an example of what a simple example might illustrate?
Some initial thoughts were examples that could do the following:
Grammar
data structure using iterators.Grammar
data structure without an input String
.Grammar
data structure.Would any of these options illustrate what you're interested in? What else would be valuable in terms of step-by-step examples?
Thanks!
Hello @snewt,
I'm from yacc/bison world. In fact, what you described above is very interesting and probably will be enough. I just wanted to show you a few links that were very useful for me:
Ah @sergeyklay those are great examples, I'll definitely pull from them for reference. Thank you. I think you'll be interested in the feature I'm working on at the moment (associated with issue #33) that will parse an input using a predefined Grammar
to generate an AST or something like it (if the input is valid according to that grammar and report errors otherwise). That will help us make the leap to something more useful in terms of a corollary to lex/flex and yacc/bison.
do you think the README has caught up to this issue? or what is still missing?
I agree @CrockAgile
Okay! then I am gonna close, but happy to re-open if anything else is needed
Hello,
First of all wanted to say thank you for your hard work on this project.
What do you think about creating step by step example with using simple grammar? It seems to me this would help to see the usual work flow and may show general concepts better.
FYI: There is a template to make a good README.md https://gist.github.com/PurpleBooth/109311bb0361f32d87a2