Hi the list !

I know it has been discussed long time ago in 2005 but I'd like to have a status update on that javascript grammar for SableCC.

After searching on the site, on google, on mailling list archive, I was not able to find it.

Would anyone of you know where I can find a javascript grammar for SableCC or maybe confirm that it doesn't exist ?

In fact, I found several javascript grammar for antlr, but unfortunatly, I don't like that tree grammar design at all, I really appreciate the visitor pattern of SableCC. Would it be possible to convert that javascript grammar from antlr definition to SableCC definition ?

Any other idea to help me keep using SableCC ? :-)
Unfortunatly, doing myelf such a grammar is not a solution as I won't have time for it.

Note : my goal is not to execute that javascript, so a really reduced grammar could be OK : I don't need to distinguish operator but just function (including anonymous) parameters, and variables (local, global, block) declarations. I'm not sure how this could reduce the grammar and then the cost of doing it from scratch...

Thanks !


_______________________________________________
SableCC-Discussion mailing list
[email protected]
http://lists.sablecc.org/listinfo/sablecc-discussion

Reply via email to