Thierry goubier nicely helped us with a Parser (just parsing) python code with Smacc.
I do not remember where we put the code.

Stef

Le 9/1/15 19:30, kilon alios a écrit :
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 ?




Reply via email to