Re: Javascript yacc grammar?

"Etienne M. Gagnon" <egagnon@j-meg.com>
11 Mar 2000 13:42:04 -0500

          From comp.compilers

Related articles
Javascript yacc grammar? development@patanegra.com (2000-03-11)
Re: Javascript yacc grammar? egagnon@j-meg.com (Etienne M. Gagnon) (2000-03-11)
| List of all articles for this month |
From: "Etienne M. Gagnon" <egagnon@j-meg.com>
Newsgroups: comp.compilers
Date: 11 Mar 2000 13:42:04 -0500
Organization: J-Meg inc.
References: 00-03-072
Keywords: parse

> Does anybody knows where to get a yacc/bison format grammar for
> Javascript or ECMAScript specification?


You may want to give a look at:
http://scriptonite.sourceforge.net/
http://sourceforge.net/project/?group_id=2858


You'll find there an LALR(1) grammar for ECMAScript, fully compliant with the
standard. The grammar is written for SableCC.


Etienne
--
----------------------------------------------------------------------
Etienne M. Gagnon, M.Sc. e-mail: egagnon@j-meg.com
Author of SableCC: http://www.sable.mcgill.ca/sablecc/


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.