-
Notifications
You must be signed in to change notification settings - Fork 2
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
D2L -- multiple grammars. #13
Comments
D2L currently has no special syntax to define lexical rules, my thought (in the passage about Now that D2L must produce KIR, is it ok to infer lexical rules to produce the linked lexical grammar for the structural? On the second thought, |
D2L needs to allow the grammar to be specified in some way. Even if we stick intially to G1/L0, in practical applications some L0 rules will need to be defined directly as L0 rules, rather than indirectly as charclasses and strings in L0 rules. |
Fixed in b9b2554. |
Hmmm. Interesting idea. On Sat, May 2, 2015 at 11:41 PM, rns notifications@github.com wrote:
|
Another option can be a special key, e.g. |
Unlike in LPeg, we'll have to deal with grammar sets. PEG has unified lexing/parsing, whereas typically Marpa will have at least a G1/L0 pair. (This is the same matter that I did not get right in my first pass at the LUIF.)
The text was updated successfully, but these errors were encountered: