GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||
GeezerVison is showing github.com — gh-127833: Use `productionlist` nodes to implement the `grammar-snippet` directive by AA-Turner · Pull Request #130376 · python/cpython Conversation
|
|
The extension defines two directives, one with the new syntax but also a I added code to merge the lines of each multi-line production into a single production node. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
OK, now each production should should have complete rawsource. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Sorry for the delay on my part. I've refactored to split the parsing of content lines into individual productions into its own method, as I think it is sufficiently complex to warrant a dedicated function (and this massively simplifies the creation of the actual production node). One open question is if A |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Don't worry about delays; I've had more important things to deal with too :) Do you think a I think Enum would be overengineering; we'd need to duplicate the names from the regex (unless we build the regex from the enum -- more overengineering). |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I've pushed this change to the PR, and updated the branch to fix a conflict. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@encukou I don't see any new commits... |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I think that was a GitHub glitch. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.