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

Allow submodules to be written in ragg language #8

Open
dyoo opened this issue Jan 15, 2013 · 1 comment
Open

Allow submodules to be written in ragg language #8

dyoo opened this issue Jan 15, 2013 · 1 comment

Comments

@dyoo
Copy link
Owner

dyoo commented Jan 15, 2013

mye asks: Is there a reason the BNF based syntax doesn't work for submodules? (I'm assuming this is possible with the submodules which it might not)

The major obstacle I see to this is use of "#" for line comments, which might not work nicely with the Racket reader.

@dyoo
Copy link
Owner Author

dyoo commented Jan 28, 2013

See the sexp branch for a possible solution to this. It includes the ragg/sexp/lang language, which submodules can use.


The other obstacle is that of alternation, which uses the pipe symbol. This conflicts with escaped symbol notation. The workaround I've got is to use "||", and check for the empty identifier. The hack is messy; I'm not positive yet that this is the right solution, but it appears to work so far...

@ghost ghost assigned dyoo Jan 28, 2013
@dyoo dyoo removed their assignment Sep 11, 2023
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

1 participant