[pypy-dev] Customized parser

Franck Pommereau pommereau at univ-paris12.fr
Fri Oct 5 21:24:48 CEST 2007

Dear PyPy developpers,

I'd like to build a CPython program that would include a parser for a
Python-like language. My idea was to start from PyPy's parser that is
already written in pure Python. All I need is a parser that builds an
AST or something equivalent.

This is the idea. But from now on, I'm lost in PyPy's sources. I did not
even figure out how to call the parser correctly...

Does any one has an example that could guide me?

The changes to the languages I need are removing some statements and
adding few ones like:


Thank you in advance for any help.

More information about the Pypy-dev mailing list