On Thu, Apr 11, 2013 at 10:29 AM, Leandro Pereira <lean...@profusion.mobi>wrote:

> dpranke,
>
>
> On 04/11/2013 02:12 PM, Dirk Pranke wrote:
>
>
>> I'm not sure how useful a suggestion this is, but ANTLR has a pretty
>> strong framework for separating parsing from code generation and seems
>> like it would be an ideal fit for this, except that the tool itself is
>> written in Java. Perhaps that is a show-stopper? I'm not actually aware
>> of any similar parser-generator tools that have similar architectures
>> but are in more WebKit/Blink-friendly languages, but maybe they exist?
>>
>
> Pyparsing is a nice little library that requires no code generation
> (grammar is written in pure Python) and is very simple to use.
>
> Their website lives at 
> http://pyparsing.wikispaces.**com/<http://pyparsing.wikispaces.com/>
> .
>
>
That's pretty much the opposite of what I was getting at (I was talking
about ANTLR's use of StringTemplate to separate code generation from the
building of the AST).

-- Dirk
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to