Re: Python lex settings

2008-12-18 Thread Sergey Shepelev
On Dec 19, 2:16 am, Robert Kern 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 exper

Re: Python lex settings

2008-12-18 Thread Robert Kern
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.dalke

Re: python LEX

2005-04-21 Thread Mike Meyer
Miki Tebeka <[EMAIL PROTECTED]> writes: > Hello jozo, > >> I have to work on python lexical definition in Lex. I spent lots of my >> time to find regular expresions written for Lex of Python language but >> nothing. >> Can somebody help me? > http://www.antlr.org/grammar/list (search for Python) >

Re: python LEX

2005-04-21 Thread Maurice LING
jozo wrote: I have to work on python lexical definition in Lex. I spent lots of my time to find regular expresions written for Lex of Python language but nothing. Can somebody help me? I nEED hELP Jython has a Python language lexer written using JavaCC. -- http://mail.python.org/mailman/listinfo

Re: python LEX

2005-04-21 Thread Miki Tebeka
Hello jozo, > I have to work on python lexical definition in Lex. I spent lots of my > time to find regular expresions written for Lex of Python language but > nothing. > Can somebody help me? http://www.antlr.org/grammar/list (search for Python) You can search in projects like Pyrex and Parrot f

Re: python LEX

2005-04-21 Thread Tim Daneliuk
Tim Daneliuk wrote: jozo wrote: I have to work on python lexical definition in Lex. I spent lots of my time to find regular expresions written for Lex of Python language but nothing. Can somebody help me? I nEED hELP http://systems.cs.uchicago.edu/ply/ Whoops - I did not read your question carefull

Re: python LEX

2005-04-21 Thread Tim Daneliuk
jozo wrote: I have to work on python lexical definition in Lex. I spent lots of my time to find regular expresions written for Lex of Python language but nothing. Can somebody help me? I nEED hELP http://systems.cs.uchicago.edu/ply/ --