SmaCC
SmaCC copied to clipboard
This is the work so far on the pharo90 version. Feel free to look at it and fix crappy code. I still have quite a bit to do, so it...
Feature suggestion: writing a grammar rule in terms of tokens that have different definitions depending on the scanner state… ``` %states default insideBraces insideParens; insideBraces : [^{}]+ ; insideBraces :...
Hi, I'm parsing some python code and I found this: ```python {p: eval(f"e{p}", dict(e=e, p=p)) for p in paths} ``` From what I understood it is to create a dictionary...
Hello, this is something we use to navigate ASTs in Moose. Don't know if you already saw this or if you already have something similar. Anyway, I am showing here...
If the operation is a `unary_op` I believe the Elixir parser currently gives an incorrect result. In the picture below we can see that the + 1 matches ,2 and...
In the nodes we have the method SmaCCParseNode>>#filename but in my case I have a PyFileNode and this method dois not return the file name but a FileReference from the...