[Webkit-unassigned] [Bug 34019] custom-written parser
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jan 22 15:23:24 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=34019
--- Comment #7 from Oliver Hunt <oliver at apple.com> 2010-01-22 15:23:24 PST ---
(In reply to comment #6)
> > Basically the parser should be set up with a flag along the lines of
> > parse(int maxFunctionASTDepth) {
> > ...
> > }
> >
> > then the various functions to create nodes should basically be
> > if (currentFunctionDepth < maxFunctionDepth)
> > newNode = new ...;
> >
> > Having the ability to dynamically vary how deep we generate the tree will be
> > beneficial for certain real world cases.
>
> No problem. I could extend my grammar to go generate nodes for nested functions
> as well (by default, the function depth counter will be 1, but you can increase
> it).
>
> Ok, just tell me your requirements, I hope my parser-beast can handle anything
> :)
Any idea how easy/hard your model would make free variable analysis?
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list