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

How would I go about writing a whitespace sensitive grammar with nearley? #251

Closed
juliankrispel opened this issue Jul 15, 2017 · 1 comment

Comments

@juliankrispel
Copy link

Any tips? I'm fairly new to writing grammars o_O

@tjvr
Copy link
Collaborator

tjvr commented Jul 15, 2017

Is this solved by no-context/moo#55 ?

Basically, you want to have rules which match %indent and %dedent tokens where appropriate. :-)

@deltaidea deltaidea mentioned this issue Jul 30, 2017
18 tasks
@tjvr tjvr closed this as completed Aug 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants