[antlr-interest] JavaScript grammar

Terence Parr parrt at cs.usfca.edu
Sat Mar 29 15:00:50 PDT 2008


updated site.

http://www.antlr.org/grammar/1206736738015/JavaScript.g

Ter
On Mar 29, 2008, at 2:44 PM, Chris Lambrou wrote:

> All,
>
> Oh dear. I'm afraid I mucked up - sorry! I had Greg's original  
> grammar, ECMAScript.g, open alongside the script I wrote,  
> JavaScript.g. In my original message I attached the wrong one.
>
> Anyhow, here's the right one. Terence, an incorrect entry has  
> appeared on your grammar list page. Can it please be updated.
>
> Chris
>
>
> On 29/03/2008, shmuel siegel <antlr at shmuelhome.mine.nu> wrote:
> Chris Lambrou wrote:
> > Hi all,
> >
> > I couldn't get the ECMAScript by Greg Clemenson on the Grammar List
> > page to work. It's supposed to run in v3.0 without any issues, but I
> > ran into a whole host of problems. Since I'm fairly new to ANTLR, I
> > thought I'd work my way through Terence's book and have a stab at
> > writing a JavaScript grammar from scratch as a learning exercise.
> > Well, I've reached a point where the script may be useful to others,
> > so I've attached it - it compiles cleanly, without any warnings. I
>
> [snip snip]
> <JavaScript.g>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080329/ee702fd0/attachment.html 


More information about the antlr-interest mailing list