On 30/03/2009, at 9:17 PM, Emmanuel Onzon wrote:

>
> At this time, parsing is the major problem. Before Dypgen, binding
> dominated.
>
> Hi,
>
> Why not update to the last version of dypgen? parsing
> performances should improve.
> Besides, many bugs have been fixed since 2007.


Because it is a lot of work, trolling through all the changes
and then applying all that to the Felix calling code, and don't
forget at the moment Dypgen is integrated with our build system.

What would be cool is if Felix "nested grammars" could work
efficiently. This was implemented, and required "forgetting"
certain productions when they drop out of scope. However
if you recall there was a major performance problem because
the grammar must be left recursive for this to work, but dypgen
requires it to be right recursive to tail optimise it. There's probably
no way around this, but the left recursive form is untenable, because
it stacks up the statement grammar every statement.

Something like that (I may have the details wrong, it's been a while).

the temporary solution has been to (secretly) disable nested grammar.
(that is, grammars that only apply inside a Felix scope).

Anyhow the big problem is labour.

--
john skaller
skal...@users.sourceforge.net





------------------------------------------------------------------------------
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to