parsing Python

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

parsing Python

Stéphane Ducasse
Hi jan

Do you have a python parser in PetitParser?
Do you have an extension do handle tab?
Because we are feedup to lose your time in python.

Stef

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: parsing Python

kurs.jan
Hi,

I had a student, he did some work with PEG and Python, but it is not finished yet. You need it? I can have a look at it in the next week and let you know, how far I can get.

Cheers,
Jan


On 15 March 2014 08:36, Stéphane Ducasse <[hidden email]> wrote:
Hi jan

Do you have a python parser in PetitParser?
Do you have an extension do handle tab?
Because we are feedup to lose your time in python.

Stef



_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: parsing Python

Stéphane Ducasse

On 15 Mar 2014, at 11:47, Jan Kurš <[hidden email]> wrote:

Hi,

I had a student, he did some work with PEG and Python, but it is not finished yet. You need it?

oh yes :) 
We are fed up to program in python.

I can have a look at it in the next week and let you know, how far I can get.

Thanks a lot


Cheers,
Jan


On 15 March 2014 08:36, Stéphane Ducasse <[hidden email]> wrote:
Hi jan

Do you have a python parser in PetitParser?
Do you have an extension do handle tab?
Because we are feedup to lose your time in python.

Stef


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


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: parsing Python

Damien Cassou
In reply to this post by kurs.jan
Hi Jan,

On Sat, Mar 15, 2014 at 11:47 AM, Jan Kurš <[hidden email]> wrote:
> I had a student, he did some work with PEG and Python, but it is not
> finished yet. You need it? I can have a look at it in the next week and let
> you know, how far I can get.


yes, we are interested.


--
Damien Cassou
http://damiencassou.seasidehosting.st

"Success is the ability to go from one failure to another without
losing enthusiasm."
Winston Churchill

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: parsing Python

kurs.jan
Hi,

I had a look at it, fixed some erorrs and merged into this project:

To load Indentation sensitive part:
Gofer new smalltalkhubUser: 'JanKurs' project: 'PetitParser'; configurationOf: #PetitParserIndent; load. (Smalltalk at: #ConfigurationOfPetitParserIndent) perform: #loadDevelopment.

There are 252 tests regarding the Python Grammar, but I am not sure, how good the grammar is. But it might be definitely a good start. Have a look and let me know, what do you think.

Cheers,
Jan


On 17 March 2014 17:46, Damien Cassou <[hidden email]> wrote:
Hi Jan,

On Sat, Mar 15, 2014 at 11:47 AM, Jan Kurš <[hidden email]> wrote:
> I had a student, he did some work with PEG and Python, but it is not
> finished yet. You need it? I can have a look at it in the next week and let
> you know, how far I can get.


yes, we are interested.


--
Damien Cassou
http://damiencassou.seasidehosting.st

"Success is the ability to go from one failure to another without
losing enthusiasm."
Winston Churchill


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: parsing Python

Stéphane Ducasse
thanks Jan.
Alain developed a Smacc Python parser. I hope that soon we will release a bunch of 
parsing extensions.

Stef

Hi,

I had a look at it, fixed some erorrs and merged into this project:

To load Indentation sensitive part:
Gofer new smalltalkhubUser: 'JanKurs' project: 'PetitParser'; configurationOf: #PetitParserIndent; load. (Smalltalk at: #ConfigurationOfPetitParserIndent) perform: #loadDevelopment.

There are 252 tests regarding the Python Grammar, but I am not sure, how good the grammar is. But it might be definitely a good start. Have a look and let me know, what do you think.

Cheers,
Jan


On 17 March 2014 17:46, Damien Cassou <[hidden email]> wrote:
Hi Jan,

On Sat, Mar 15, 2014 at 11:47 AM, Jan Kurš <[hidden email]> wrote:
> I had a student, he did some work with PEG and Python, but it is not
> finished yet. You need it? I can have a look at it in the next week and let
> you know, how far I can get.


yes, we are interested.


--
Damien Cassou
http://damiencassou.seasidehosting.st

"Success is the ability to go from one failure to another without
losing enthusiasm."
Winston Churchill

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


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