Python lex settings

Sergey Shepelev temotor at gmail.com
Fri Dec 19 08:32:02 CET 2008


On Dec 19, 2:16 am, Robert Kern <robert.k... at gmail.com> wrote:
> Sergey Shepelev wrote:
> > Hello.
>
> > I'm trying to make almost-Python source to Erlang source translation
> > tool.
>
> > Are there ready ply.lex settings for parsing python source?
>
> Yes! Andrew Dalke has implemented a PLY grammar for Python for experimenting
> with almost-Python languages.
>
>    http://www.dalkescientific.com/Python/python4ply.html
>
> --
> Robert Kern
>
> "I have come to believe that the whole world is an enigma, a harmless enigma
>   that is made terrible by our own mad attempt to interpret it as though it had
>   an underlying truth."
>    -- Umberto Eco

Wow! Thank you very much, it's exactly what i was searching for.



More information about the Python-list mailing list