we-like-parsers / pegen

PEG parser generator for Python
https://we-like-parsers.github.io/pegen/
MIT License
150 stars 32 forks source link

Implement nullable detection via `NullableVisitor` #91

Closed phorward closed 10 months ago

phorward commented 1 year ago

This PR introduces the NullableVisitor implemented in Cpython's version of pegen into pegen. It removes the nullable_visit functions from the different node types.

phorward commented 1 year ago

I mistakenly created this pull request again, which is the same as #86. But GitHub shows differences to main. Does anybody know why?

phorward commented 10 months ago

Can anybody take a look at this? I really want to bring this project forward.

pablogsal commented 10 months ago

Thanks for the PR @phorward and sorry for the delay in the review!