[Webkit-unassigned] [Bug 34019] custom-written parser

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 22 15:20:03 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=34019





--- Comment #6 from Zoltan Herczeg <zherczeg at webkit.org>  2010-01-22 15:20:03 PST ---
> 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
:)

-- 
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