sly
sly copied to clipboard
Sly Lex Yacc
There seems to be a mismatch between the version in the source files (e.g. CHANGES) and the tag on github. Which is correct? CHANGES says 0.5, the tag is 1,5
If I have ``` class MyLexer(Lexer): ... class MyParser(Parser): tokens = MyLexer.tokens ... # some expressions ``` How can I extend `MyParser` to write another parser that builds on the...
Hi, it is sad to hear that this project isn't being maintained anymore, but I understand. I have a question about the safety of the versions currently uploaded to PyPi....
This change adds support for showing counterexamples when finding a Shift/Reduce or a Reduce/Reduce conflict. The feature does not change the algorithm used to construct the table, but stores additional...
missing self argument in token decorator
Note: I am aware that this project is no longer being maintained. I'm posting this issue here so that if others experience it, they might be able to work around...
I've been using SLY to write a parser for a fake programming language and I think I've encountered an issue. When trying to do some error handling I created an...
Just a quick note that may resume some work on SLY in the coming month. Open to anything that improves it. Some things I'm thinking about - Better error messages...
Currently, in order to test subcomponents of a grammar, you must manually change the start attribute of the user defined parser class, and then rerun any tests using text from...
Hi David, I notice Sly's tokeniser is designed to feed only from an indexable, sliceable string-like object. I need to have it feeding instead from a "stack of streams", to...