[il-antlr-interest: 30791] [antlr-interest] Eval class not found, antlr3.3 on mac

2010-12-05 Thread bill punch
Hi. I recently downloaded the ANTLRWorks 1.4.1 bundle for Mac and installed. I also have a copy of the book, and was going through the various examples. I got all the way to the tour/trees examples, the Expr.g portion, and I ran into a problem. I can create the Lexer and Parser files, but when I

[il-antlr-interest: 31019] Re: [antlr-interest] ANTLR Java Bytecode Generator Example

2010-12-29 Thread bill punch
Sorry to bother. I was having the same problem but I'm not quite getting what the fix is .Should the entire init stuff be commented out as in ; public Calc() { super(); } // calls java.lang.Object() ;.method public init()V ; aload_0 ; invokenonvirtual java/lang/Object/init()V ; return ;.end

[il-antlr-interest: 31341] Re: [antlr-interest] Which approach for an Interpreter: Tree Grammar vs AST-Visitor

2011-02-03 Thread bill punch
the class. The tree grammar approach is superior in the general case, but an important lesson for students to learn the value of tools as opposed to automatically hand coding solutions--exposing students to alternatives is good for them. --Loring - Original Message From: bill punch pu

[il-antlr-interest: 31471] Re: [antlr-interest] what would ANTLR ref guide revised edition have?

2011-02-15 Thread bill punch
Let me say that I really like ANTLR and have been using both books extensively. Thus I hope this is taken as constructive criticism. I think what Ray is saying is what I've been running into. I'm teaching the Compiler's class (for the first time) and using the ANTLR reference book. It has been a