A preprocessor for PetitParser

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

A preprocessor for PetitParser

Guillaume Larcheveque
Hi everybody, i am currently implementing a preProcessor which is a kind of PPParser, so you can combine it like any parser. At this moment, it is able to manage a simple transformation (a matched regular expression is replaced by a substitution string) and it release the stream in a correct state after his action (the remaining data are not preprocessed and the position is correct).

Do you think i should release it directly in PetitParser or in another module?

--
Guillaume Larcheveque



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

Re: A preprocessor for PetitParser

Tudor Girba-2
Hi,

Sounds interesting. Please commit it in a separate package.

Cheers,
Doru


On Wed, Jun 6, 2012 at 11:06 AM, Guillaume Larcheveque
<[hidden email]> wrote:

> Hi everybody, i am currently implementing a preProcessor which is a kind of
> PPParser, so you can combine it like any parser. At this moment, it is able
> to manage a simple transformation (a matched regular expression is replaced
> by a substitution string) and it release the stream in a correct state after
> his action (the remaining data are not preprocessed and the position is
> correct).
>
> Do you think i should release it directly in PetitParser or in another
> module?
>
> --
> Guillaume Larcheveque
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>



--
www.tudorgirba.com

"Every thing has its own flow"
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev