-
Notifications
You must be signed in to change notification settings - Fork 4
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
Implement Marpa's Scanless Interface (SLIF) for writing grammars #1
Comments
Glad to hear that! Most likely you know it already, but just in case: Marpa IRC channel is a good place to look for help/advice re SLIF. |
Ooo! |
I'm interested in helping with advice. Some questions: lotsawa currently does not implement Leo, does it? Also, is there a test suite? @rns and I created one for Libmarpa. Getting lotsawa to pass some sort of test suite is IMHO a necessary first step. |
Some test cases can also be extracted from Marpa::R2 test suite. |
It does implement Leo, though to make it efficient, I'm going to have to binarize all the rules. |
There is a test suite, although it's still necessarily pretty basic as lotsawa does not yet have any mechanism for getting information about a parse– it only reports success, ambiguity or failure. |
There's no evaluation phase, you're saying? |
Correct -- getting tree generation and evaluation going will happen at the same time. |
That's tied in with how much Leo you want to implement. Hopefully my new |
That's part of what I was passively hoping would exist by the time I got there. but I shall dive in a bit! |
I'm gonna give a go at this. It's documented here:
https://metacpan.org/pod/distribution/Marpa-R2/pod/Scanless/DSL.pod
The text was updated successfully, but these errors were encountered: