we-like-parsers / pegen

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

Can I use this library to extend Python's syntax? #17

Closed abersheeran closed 3 years ago

abersheeran commented 3 years ago

Can I use this library to extend Python's syntax? In other words, create a new language based on Python.

gvanrossum commented 3 years ago

It’s open source, so go ahead, if it suits your needs.

But beware that you need more than a parser! :-)