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

Show PEG with operators from Wiki article #9

Open
gitonthescene opened this issue Jun 17, 2021 · 1 comment
Open

Show PEG with operators from Wiki article #9

gitonthescene opened this issue Jun 17, 2021 · 1 comment
Labels
discussion and feedbacks question Further information is requested

Comments

@gitonthescene
Copy link

Hi there! First, thanks for sharing. This looks well written and more or less easy to follow.

One thought I had though is that for readers who might need an overview of what computer languages do, I imagine that the PEG description of the grammar looks pretty magical.

I appreciate that defining PEG or how pest works isn’t your primary focus, but might it be more helpful to present the grammar using the operators from the Wikipedia article you posted and just assert that it translates to the form needed as pest input?

That way readers who follow up with the Wikipedia article can follow along more easily without having to read the pest manual which is likely to get into all sorts of other info.

Just an idea. Thanks again.

@gitonthescene gitonthescene added discussion and feedbacks question Further information is requested labels Jun 17, 2021
@ehsanmok
Copy link
Owner

Thanks for the suggestions! yes, also I'll go deeper into PEG and pest in the later chapters where I introduce what's necessary to add more language constructs support by going back and forth to grammar <-> ast.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion and feedbacks question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants