PetitParser lying around somewhere?

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

PetitParser lying around somewhere?

Amber Milan Eskridge
Hello

I'd like to build a small content management system for one of my clients. Since he's fluent in some wiki-dialect whose parser is ancient php-code, I want to rebuild a part of it using a peg-grammer, preferably in ST.

Once Jtalk was build on PetitParser I think, but I cannot find the code. Maybe someone on the list knows, where I can find that?

Reply | Threaded
Open this post in threaded view
|

Re: PetitParser lying around somewhere?

JohnnyT
Are you looking for: https://github.com/NicolasPetton/amber/blob/master/js/parser.pegjs ?

JohnnyT

On Dec 9, 2011, at 3:52 PM, Amber Milan Eskridge wrote:

Hello

I'd like to build a small content management system for one of my clients. Since he's fluent in some wiki-dialect whose parser is ancient php-code, I want to rebuild a part of it using a peg-grammer, preferably in ST.

Once Jtalk was build on PetitParser I think, but I cannot find the code. Maybe someone on the list knows, where I can find that?


Reply | Threaded
Open this post in threaded view
|

Re: PetitParser lying around somewhere?

Nicolas Petton
Here you have the PetitParser port (a bit simplified) and the Smalltalk
parser written in PP:

https://github.com/NicolasPetton/amber/blob/ce51b4ef410cbd75b86fb0a1a4c0947f63a83baa/st/Parser.st

Cheers,
Nico

On Fri, 2011-12-09 at 17:35 -0700, JohnnyT wrote:

> Are you looking
> for: https://github.com/NicolasPetton/amber/blob/master/js/parser.pegjs ?
>
>
> JohnnyT
>
> On Dec 9, 2011, at 3:52 PM, Amber Milan Eskridge wrote:
>
> > Hello
> >
> >
> > I'd like to build a small content management system for one of my
> > clients. Since he's fluent in some wiki-dialect whose parser is
> > ancient php-code, I want to rebuild a part of it using a
> > peg-grammer, preferably in ST.
> >
> >
> > Once Jtalk was build on PetitParser I think, but I cannot find the
> > code. Maybe someone on the list knows, where I can find that?
> >
> >
>
>


Reply | Threaded
Open this post in threaded view
|

Re: PetitParser lying around somewhere?

Amber Milan Eskridge
Johnny, I was looking for the link Nicolas kindly provided, thank you nevertheless.

Thank you Nico, that's what I was looking for :)

On Sat, Dec 10, 2011 at 1:51 AM, Nicolas Petton <[hidden email]> wrote:
Here you have the PetitParser port (a bit simplified) and the Smalltalk
parser written in PP:

https://github.com/NicolasPetton/amber/blob/ce51b4ef410cbd75b86fb0a1a4c0947f63a83baa/st/Parser.st

Cheers,
Nico

On Fri, 2011-12-09 at 17:35 -0700, JohnnyT wrote:
> Are you looking
> for: https://github.com/NicolasPetton/amber/blob/master/js/parser.pegjs ?
>
>
> JohnnyT
>
> On Dec 9, 2011, at 3:52 PM, Amber Milan Eskridge wrote:
>
> > Hello
> >
> >
> > I'd like to build a small content management system for one of my
> > clients. Since he's fluent in some wiki-dialect whose parser is
> > ancient php-code, I want to rebuild a part of it using a
> > peg-grammer, preferably in ST.
> >
> >
> > Once Jtalk was build on PetitParser I think, but I cannot find the
> > code. Maybe someone on the list knows, where I can find that?
> >
> >
>
>



Reply | Threaded
Open this post in threaded view
|

Re: PetitParser lying around somewhere?

Amber Milan Eskridge
Oh, the String>>#asChoiceParser, String>>#asParser and so on methods are missing. Can you provide a link to them, too?
That would be extremly helpful :)

On Sun, Dec 11, 2011 at 12:45 PM, Amber Milan Eskridge <[hidden email]> wrote:
Johnny, I was looking for the link Nicolas kindly provided, thank you nevertheless.

Thank you Nico, that's what I was looking for :)


On Sat, Dec 10, 2011 at 1:51 AM, Nicolas Petton <[hidden email]> wrote:
Here you have the PetitParser port (a bit simplified) and the Smalltalk
parser written in PP:

https://github.com/NicolasPetton/amber/blob/ce51b4ef410cbd75b86fb0a1a4c0947f63a83baa/st/Parser.st

Cheers,
Nico

On Fri, 2011-12-09 at 17:35 -0700, JohnnyT wrote:
> Are you looking
> for: https://github.com/NicolasPetton/amber/blob/master/js/parser.pegjs ?
>
>
> JohnnyT
>
> On Dec 9, 2011, at 3:52 PM, Amber Milan Eskridge wrote:
>
> > Hello
> >
> >
> > I'd like to build a small content management system for one of my
> > clients. Since he's fluent in some wiki-dialect whose parser is
> > ancient php-code, I want to rebuild a part of it using a
> > peg-grammer, preferably in ST.
> >
> >
> > Once Jtalk was build on PetitParser I think, but I cannot find the
> > code. Maybe someone on the list knows, where I can find that?
> >
> >
>
>




Reply | Threaded
Open this post in threaded view
|

Re: PetitParser lying around somewhere?

Nicolas Petton
You can look there:

https://github.com/NicolasPetton/amber/blob/ce51b4ef410cbd75b86fb0a1a4c0947f63a83baa/st/Kernel.st

Cheers,
Nico


On Sun, 2011-12-11 at 17:39 +0100, Amber Milan Eskridge wrote:

> Oh, the String>>#asChoiceParser, String>>#asParser and so on methods
> are missing. Can you provide a link to them, too?
> That would be extremly helpful :)
>
> On Sun, Dec 11, 2011 at 12:45 PM, Amber Milan Eskridge
> <[hidden email]> wrote:
>         Johnny, I was looking for the link Nicolas kindly provided,
>         thank you nevertheless.
>        
>         Thank you Nico, that's what I was looking for :)
>        
>        
>         On Sat, Dec 10, 2011 at 1:51 AM, Nicolas Petton
>         <[hidden email]> wrote:
>                 Here you have the PetitParser port (a bit simplified)
>                 and the Smalltalk
>                 parser written in PP:
>                
>                 https://github.com/NicolasPetton/amber/blob/ce51b4ef410cbd75b86fb0a1a4c0947f63a83baa/st/Parser.st
>                
>                 Cheers,
>                 Nico
>                
>                 On Fri, 2011-12-09 at 17:35 -0700, JohnnyT wrote:
>                 > Are you looking
>                 > for:
>                 https://github.com/NicolasPetton/amber/blob/master/js/parser.pegjs ?
>                 >
>                 >
>                 > JohnnyT
>                 >
>                 > On Dec 9, 2011, at 3:52 PM, Amber Milan Eskridge
>                 wrote:
>                 >
>                 > > Hello
>                 > >
>                 > >
>                 > > I'd like to build a small content management
>                 system for one of my
>                 > > clients. Since he's fluent in some wiki-dialect
>                 whose parser is
>                 > > ancient php-code, I want to rebuild a part of it
>                 using a
>                 > > peg-grammer, preferably in ST.
>                 > >
>                 > >
>                 > > Once Jtalk was build on PetitParser I think, but I
>                 cannot find the
>                 > > code. Maybe someone on the list knows, where I can
>                 find that?
>                 > >
>                 > >
>                 >
>                 >
>                
>                
>                
>        
>        
>
>


Reply | Threaded
Open this post in threaded view
|

Re: PetitParser lying around somewhere?

Amber Milan Eskridge
Thanks again! :)

On Sun, Dec 11, 2011 at 5:47 PM, Nicolas Petton <[hidden email]> wrote:
You can look there:

https://github.com/NicolasPetton/amber/blob/ce51b4ef410cbd75b86fb0a1a4c0947f63a83baa/st/Kernel.st

Cheers,
Nico


On Sun, 2011-12-11 at 17:39 +0100, Amber Milan Eskridge wrote:
> Oh, the String>>#asChoiceParser, String>>#asParser and so on methods
> are missing. Can you provide a link to them, too?
> That would be extremly helpful :)
>
> On Sun, Dec 11, 2011 at 12:45 PM, Amber Milan Eskridge
> <[hidden email]> wrote:
>         Johnny, I was looking for the link Nicolas kindly provided,
>         thank you nevertheless.
>
>         Thank you Nico, that's what I was looking for :)
>
>
>         On Sat, Dec 10, 2011 at 1:51 AM, Nicolas Petton
>         <[hidden email]> wrote:
>                 Here you have the PetitParser port (a bit simplified)
>                 and the Smalltalk
>                 parser written in PP:
>
>                 https://github.com/NicolasPetton/amber/blob/ce51b4ef410cbd75b86fb0a1a4c0947f63a83baa/st/Parser.st
>
>                 Cheers,
>                 Nico
>
>                 On Fri, 2011-12-09 at 17:35 -0700, JohnnyT wrote:
>                 > Are you looking
>                 > for:
>                 https://github.com/NicolasPetton/amber/blob/master/js/parser.pegjs ?
>                 >
>                 >
>                 > JohnnyT
>                 >
>                 > On Dec 9, 2011, at 3:52 PM, Amber Milan Eskridge
>                 wrote:
>                 >
>                 > > Hello
>                 > >
>                 > >
>                 > > I'd like to build a small content management
>                 system for one of my
>                 > > clients. Since he's fluent in some wiki-dialect
>                 whose parser is
>                 > > ancient php-code, I want to rebuild a part of it
>                 using a
>                 > > peg-grammer, preferably in ST.
>                 > >
>                 > >
>                 > > Once Jtalk was build on PetitParser I think, but I
>                 cannot find the
>                 > > code. Maybe someone on the list knows, where I can
>                 find that?
>                 > >
>                 > >
>                 >
>                 >
>
>
>
>
>
>
>