Jeff Webb
Jeff Webb
I am not using unicode, but I have a similar issue with things working in Python 3 and not in Python 2. In my case, when I try to declare...
Will do.
How does this implementation look? It seems to be working for me. Please let me know if this in on the right track. Thanks.
Yes, I agree that the duplicated code should be minimized. Thanks.
I am attempting to implement an indentation-based language using parglare. I believe that I have come up with a working solution that uses a combination of custom recognizers/actions to examine/manipulate...
In my case, the whitespace rules are fairly complicated, allowing for line continuation characters, "partially" unindented blocks, and ignoring newlines and indentation inside of brackets. Perhaps my use case will...
Regardless of whether my case could be handled by some future built-in features, I think it would still be useful to be able to easily manipulate some external state from...
Yes, I have found that to be the case so far. I think the design is elegant, but also very practical. Thanks for making it available.
@amerlyq, Since you asked, here is some code that I have been playing with that illustrates one way to implement a parser for a language that uses significant indentation: https://github.com/codecraftingtools/wumps...
Okay, I hacked something together that may be easier to understand: https://github.com/jwcraftsman/pgindent