You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Cappuccino & Objective-J
Hi,
I know that ObjectiveJ2 is supposed to used Parsing Expression
Grammar(PEG) to parse ecmascript and ObjectiveJ and today I found an
open source(google)
peg parser
http://es-lab.googlecode.com/svn/trunk/site/esparser/index.html Wouldn't be a good start for ObjectiveJ 2.0 ?
krodelin
unread,
Feb 11, 2012, 10:35:22 AM2/11/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Cappuccino & Objective-J
Regarding PEG Parsers in general: I found PEG.js quite good (only used
it for simple stuff though):
http://pegjs.majda.cz/
CU,
Udo
On Feb 11, 11:46 am, smartmobili <v.richo...@gmail.com> wrote:
> Hi,
>
> I know that ObjectiveJ2 is supposed to used Parsing Expression
> Grammar(PEG) to parse ecmascript and ObjectiveJ and today I found an
> open source(google)
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to objec...@googlegroups.com
Yeah, the reason behind writing our own parser is that if you try to parse our source files (or any files of meaningful size) with those existing PEG parsers you'll soon find they take far too long. For some context, if I recall correctly PEG.js took something like 90 seconds to parse jquery.js. (We try to parse your entire Obj-J program in less (hopefully far less) than a second)