Re: [Pharo-dev] PettitParser and Python

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: [Pharo-dev] PettitParser and Python

Tudor Girba-2
Hi,

The challenge with Python parsing is dealing with whitespace properly.

Jan Kurs was working on such a parser. I do not know how advanced it is. Jan?

Cheers,
Doru



On Fri, Jan 9, 2015 at 7:30 PM, kilon alios <[hidden email]> wrote:
Hello guys I am learning PettitParser , I dowloaded the video tutorials of Tudor Girba (very good tutorial Tudor , well done )  and other documentation and I was wondering if a parser for Python already exists . I hope I am not asking something obvious. 

For my project I want to parse python types , that will be given to me as strings , to pharo objects. So that means parsing lists, dictionaries and other usual candidates. For example a python list is like 

'[1, 3, 50, [45, 'hello', 0.2], 63]'

etc

Anyone already worked on such problem ? 





--

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev