[il-antlr-interest: 24068] Re: [antlr-interest] "Language design patterns" book available in beta

2009-06-05 Thread Randall R Schulz
On Friday June 5 2009, Terence Parr wrote: > On Jun 5, 2009, at 2:29 PM, Steve Cooper wrote: > > First, thanks for writing this book. I'm a good way through already > > and have written my first LL(2) recursive descent parser today. I'm > > very happy with the book. > > great! > > > "If I have to

[il-antlr-interest: 24020] Re: [antlr-interest] "Language design patterns" book available in beta

2009-06-03 Thread Randall R Schulz
On Wednesday June 3 2009, Mark Volkmann wrote: > ... > > I've read a few Pragmatic Programmer books on the Kindle. Dave Thomas > has done a wonderful job with handling tables and code examples! > Conversion from PDF to mobi often doesn't work well, but Dave > implemented a custom conversion that p

[il-antlr-interest: 24017] Re: [antlr-interest] "Language design patterns" book available in beta

2009-06-03 Thread Randall R Schulz
On Wednesday June 3 2009, Dennis Brothers wrote: > On Jun 3, 2009, at 8:25 PM, Randall R Schulz wrote: > > On Wednesday June 3 2009, Dennis Brothers wrote: > >> Your publisher's email beat you to the punch by a few hours - I > >> pre- ordered the book and bou

[il-antlr-interest: 24014] Re: [antlr-interest] "Language design patterns" book available in beta

2009-06-03 Thread Randall R Schulz
On Wednesday June 3 2009, Dennis Brothers wrote: > Your publisher's email beat you to the punch by a few hours - I pre- > ordered the book and bought the beta download before you posted to > the list. Reading it now on my Kindle. Do they publish a Kindle-specific version? Or can PDFs be read on

[il-antlr-interest: 23591] Re: [antlr-interest] language design

2009-05-07 Thread Randall R Schulz
On Thursday May 7 2009, Edwards, Waverly wrote: > Thank you very much for your insights regarding the benefits of > primitive types as objects. At this time, I don't see the value > but I am glad to have your perspective so I can think about it > a little more. > > > <<< > Are you designing a lan

[il-antlr-interest: 23576] Re: [antlr-interest] language design

2009-05-07 Thread Randall R Schulz
On Thursday May 7 2009, Edwards, Waverly wrote: > This question is not directly aimed at ANTLR but towards language > design. If someone wouldn't mind responding or directing me towards > the answer to why would I want a primitive type to be treated as an > object. In Java and C#, primitive types

[il-antlr-interest: 21454] Re: [antlr-interest] ANTLR v3.1.1 released

2009-01-20 Thread Randall R Schulz
On Tuesday January 20 2009, you wrote: > interesting...so this should be a warning then? I'm not sure which > is correct. It is most likely an error; I wouldn't rely on which it > chooses. But it explicitly said that it chose the enclosing rule. If that's not what it's (reliably) going to do,

[il-antlr-interest: 20830] Re: [antlr-interest] Survey: Places where parsers and compilers are used practically

2008-12-03 Thread Randall R Schulz
On Wednesday 03 December 2008 16:21, Oliver Zeigermann wrote: > Folks! > > I need your support as I want to figure out where parsers > and/or compilers are practically used these days. > > Any input highly appreciated. Wouldn't the list of where they're used _impractically_ be a lot shorter? >

[il-antlr-interest: 20707] Re: [antlr-interest] outputting whole source line on error

2008-11-28 Thread Randall R Schulz
On Friday 28 November 2008 04:30, micha wrote: > Hi, > > maybe I'm not seeing the obvious, but how can I output the whole > source line, when an error occurs (while parsing) ? Well, the lexer counts newlines (or CR+LF pairs) so as to provide a line count associated with each token it emits, but

[il-antlr-interest: 20705] Re: [antlr-interest] token definitions can never be matched because prior tokens match the same input

2008-11-28 Thread Randall R Schulz
On Friday 28 November 2008 15:15, Randall R Schulz wrote: > ... > > The next less will be to understand that the scanner / lexer fully > processes the input (breaking it into a sequence of tokens) and > completes its work before the parser begins executing. D'Oh! Make tha

[il-antlr-interest: 20704] Re: [antlr-interest] token definitions can never be matched because prior tokens match the same input

2008-11-28 Thread Randall R Schulz
On Friday 28 November 2008 15:05, Ilya Sterin wrote: > Based on the grammar you provided it doesn't seem you've defined it > correctly. First, I'd define some of your patterns as lexer tokens. > Try this... I think it's important to make clear the fact that ANTLR encodes a fixed naming conventi

[il-antlr-interest: 20513] Re: [antlr-interest] Don't want to pervert reference grammar like Terence Parr one on Java 1.5

2008-11-14 Thread Randall R Schulz
On Wednesday 12 November 2008 13:37, Johannes Luber wrote: > ... > > AFAIK, there is a whitepaper on a tool named gdiff, which would be a > specialized diff for grammars. It would ignore actions and focus only > on the grammar structure. But I don't know how far the implementation > has been reali

[il-antlr-interest: 20312] Re: [antlr-interest] Java Grammar and how to use it to create a script language to my app

2008-11-02 Thread Randall R Schulz
On Sunday 02 November 2008 15:40, me tk82c wrote: > Hello Randal! > >I agree with you, but my problem is because this "new language" > must run on our windows mobile and java micro edition apps. > >... > >ANTLR is a good way? There is any solution out of box that i can > just get and u

[il-antlr-interest: 20254] Re: [antlr-interest] Java Grammar and how to use it to create a script language to my app

2008-10-30 Thread Randall R Schulz
On Thursday 30 October 2008 18:25, me tk82c wrote: > Hello Everybody! > > I'm trying to create a new language to allow my users to write small > scripts in our web app. > > There is any short way to do that? Something like, download the > existent java grammar from ANTLR and implement the specific

[il-antlr-interest: 20079] Re: [antlr-interest] ANTLR v3.1.1 released

2008-10-21 Thread Randall R Schulz
On Tuesday 21 October 2008 11:52, Randall R Schulz wrote: > On Tuesday 21 October 2008 11:44, Terence Parr wrote: > > ... > > > > It's hard to see a code trace that could given an error (not > > warning) that wouldn't be trapped here. Hmm...ok, let m

[il-antlr-interest: 20078] Re: [antlr-interest] ANTLR v3.1.1 released

2008-10-21 Thread Randall R Schulz
On Tuesday 21 October 2008 11:44, Terence Parr wrote: > On Oct 21, 2008, at 11:41 AM, Randall R Schulz wrote: > > On Tuesday 21 October 2008 11:36, Terence Parr wrote: > >> Hi Randall, I see > >> > >>public static void main(String[] args) { > >&g

[il-antlr-interest: 20075] Re: [antlr-interest] ANTLR v3.1.1 released

2008-10-21 Thread Randall R Schulz
On Tuesday 21 October 2008 11:36, Terence Parr wrote: > Hi Randall, I see > > public static void main(String[] args) { > ErrorManager.info("ANTLR Parser Generator Version " + > VERSION); // + " (August 12, > 2008) 1989-2008");

[il-antlr-interest: 19938] Re: [antlr-interest] ANTLR Doxygen Config?

2008-10-10 Thread Randall R Schulz
On Friday 10 October 2008 15:18, Jim Idle wrote: > ... > > But you won't get very far without the insights given to you on this > group it seems, given that you post about 5 times as many questions > as anyone else. You might want to turn down the levels on your > righteous indignation buttons. B

[il-antlr-interest: 19935] Re: [antlr-interest] ANTLR Doxygen Config?

2008-10-10 Thread Randall R Schulz
On Friday 10 October 2008 14:59, Jim Idle wrote: > On Fri, 2008-10-10 at 14:53 -0700, Randall R Schulz wrote: > > On Friday 10 October 2008 14:33, Jim Idle wrote: > > > On Fri, 2008-10-10 at 14:29 -0700, Randall R Schulz wrote: > > > > ... > > > >

[il-antlr-interest: 19933] Re: [antlr-interest] ANTLR Doxygen Config?

2008-10-10 Thread Randall R Schulz
On Friday 10 October 2008 14:33, Jim Idle wrote: > On Fri, 2008-10-10 at 14:29 -0700, Randall R Schulz wrote: > > On Friday 10 October 2008 14:22, Terence Parr wrote: > > > On Oct 10, 2008, at 2:08 PM, Andy Tripp wrote: > > > > The Javadoc is missing from the ANT

[il-antlr-interest: 19930] Re: [antlr-interest] ANTLR Doxygen Config?

2008-10-10 Thread Randall R Schulz
On Friday 10 October 2008 14:22, Terence Parr wrote: > On Oct 10, 2008, at 2:08 PM, Andy Tripp wrote: > > The Javadoc is missing from the ANTLR website. > > We use doxygen in lieu; the doc isn't missing per se > > http://www.antlr.org/api/Java/index.html Any chance of getting my original question

[il-antlr-interest: 19925] Re: [antlr-interest] Would antlr be suited for this task?

2008-10-10 Thread Randall R Schulz
On Friday 10 October 2008 12:45, Gary Rosales wrote: > Hi, > > > > I am a newbie with ANTLR but I have a question that it's been itching > me to ask for a while. I am in a project where we are migrating a > bunch of c code that has embedded SQL (E/SQL from Informix) to c code > that has also embed

[il-antlr-interest: 19918] Re: [antlr-interest] ANTLR Doxygen Config?

2008-10-10 Thread Randall R Schulz
On Friday 10 October 2008 10:33, Torsten Curdt wrote: > ... > > > > Since the source is available, it's pretty easy to create your own. > > Yeah ... one can do that. But it's inconvenient. Well, I just configure it into my Ant build.xml. It's "set and forget," really. > Pretty much very java p

[il-antlr-interest: 19915] Re: [antlr-interest] ANTLR Doxygen Config?

2008-10-10 Thread Randall R Schulz
On Friday 10 October 2008 09:05, Torsten Curdt wrote: > On Oct 10, 2008, at 17:39, Randall R Schulz wrote: > > Hi, > > > > I really like the Doxygen HTML files on the ANTLR Web site. > > Hm ...I was lately thinking the exact opposite :) Well, I wasn't necessarily

[il-antlr-interest: 19913] [antlr-interest] ANTLR Doxygen Config?

2008-10-10 Thread Randall R Schulz
Hi, I really like the Doxygen HTML files on the ANTLR Web site. Once upon a time, I tried using Doxygen, and I don't recall ever getting it to make such nice output. Is the Doxygen config file used to generate them available somewhere? Thanks. Randall Schulz List: http://www.antlr.org:8080

[il-antlr-interest: 19903] Re: [antlr-interest] Java *_return Access Level

2008-10-09 Thread Randall R Schulz
On Thursday 09 October 2008 17:32, Terence Parr wrote: > On Oct 9, 2008, at 5:29 PM, Randall R Schulz wrote: > > Hi, > > > > Is there any reason the many *_return classes generated when a > > grammar uses the "returns [ ... ]" construct (under Java) cannot be

[il-antlr-interest: 19901] [antlr-interest] Java *_return Access Level

2008-10-09 Thread Randall R Schulz
Hi, Is there any reason the many *_return classes generated when a grammar uses the "returns [ ... ]" construct (under Java) cannot be declared "private" (or, at least, "protected")? This would have the salutary effect of excluding them from the external JavaDoc HTML typically generated from

[il-antlr-interest: 19894] Re: [antlr-interest] How to reuse lexer object and parser object

2008-10-09 Thread Randall R Schulz
On Thursday 09 October 2008 00:30, Ronghui Yu wrote: > On Thu, Oct 9, 2008 at 3:12 PM, Gavin Lambert <[EMAIL PROTECTED]> wrote: > > At 19:59 9/10/2008, Ronghui Yu wrote: > >> As I mentioned before, I use the same lexer and parser object for > >> parsing different SQL statements. > > > > Is there

[il-antlr-interest: 19872] [antlr-interest] ANTLR 3.0 -> 3.1.1 Broke Working Parser

2008-10-07 Thread Randall R Schulz
Hi, I've just discovered that an ANTLR parser created using version 3.0 that I'd been using successfully for over a year is broken now that I rebuilt it using ANTLR 3.1.1. The rules in question (hopefully this tiny excerpt is sufficient for someone to recognize a change between 3.0 and 3.1) are:

[il-antlr-interest: 19865] [antlr-interest] Dynamic Grammars

2008-10-07 Thread Randall R Schulz
Hi, I recently had to write a parser for a language that, like Prolog, allows definition of new operators and redefinition of the precedence, arity and associativity of existing operators. (I did use ANTLR and was forced to simply fix the default operator structure to that language's defaults

[il-antlr-interest: 19844] Re: [antlr-interest] Good "dot" Invocation Options for Visualizing ASTs?

2008-10-06 Thread Randall R Schulz
On Monday 06 October 2008 08:56, Jim Idle wrote: > On Mon, 2008-10-06 at 08:50 -0700, Randall R Schulz wrote: > > On Monday 06 October 2008 07:00, Randall R Schulz wrote: > > > Hi, > > > > > > Has anybody come up with good recipes for using the GraphViz > &g

[il-antlr-interest: 19845] Re: [antlr-interest] Good "dot" Invocation Options for Visualizing ASTs?

2008-10-06 Thread Randall R Schulz
On Monday 06 October 2008 08:54, Jim Idle wrote: > ... > > These are not the defaults, they are the settings I use for this: > > http://www.temporal-wave.com/comp/twcsc.php I doesn't seem to work if I just press the "Parse to AST" button with the existing C# code. No AST graph is ever drawn. >

[il-antlr-interest: 19841] Re: [antlr-interest] Good "dot" Invocation Options for Visualizing ASTs?

2008-10-06 Thread Randall R Schulz
On Monday 06 October 2008 07:00, Randall R Schulz wrote: > Hi, > > Has anybody come up with good recipes for using the GraphViz > package's "dot" command for rendering the graphs of ASTs produced by > ANTLR 3 (.1.1)? Actually, what I'd really like is to re

[il-antlr-interest: 19840] Re: [antlr-interest] Good "dot" Invocation Options for Visualizing ASTs?

2008-10-06 Thread Randall R Schulz
On Monday 06 October 2008 08:36, you wrote: > On Mon, 2008-10-06 at 07:00 -0700, Randall R Schulz wrote: > > Hi, > > > > Has anybody come up with good recipes for using the GraphViz > > package's "dot" command for rendering the graphs of ASTs produced >

[il-antlr-interest: 19836] [antlr-interest] Good "dot" Invocation Options for Visualizing ASTs?

2008-10-06 Thread Randall R Schulz
Hi, Has anybody come up with good recipes for using the GraphViz package's "dot" command for rendering the graphs of ASTs produced by ANTLR 3 (.1.1)? If so, could you share? Or point me to resources that would be me a head start on coming up with good incantations of the dot command? Thanks.

[il-antlr-interest: 19826] [antlr-interest] Position of Action Blocks in Combination with Rewrites

2008-10-05 Thread Randall R Schulz
Hi, I just discovered that in parser rules with both a rewrite clause _and_ an action block, the action block must _precede_ the rewrite clause or the generated Java code is malformed and will not compile. This is OK: setOption : Set LParen plainName RParen Period { if ($plai

[il-antlr-interest: 19821] [antlr-interest] "returns" Clause Including An Array?

2008-10-04 Thread Randall R Schulz
Hi, I'd like to return an array from a parser rule (in a tree grammar, if it matters): application returns [ String appliedName, Term[] args ] : ^(plainName argTerms?) { ... } ; Unfortunately, the Java array declaration syntax, [], appears to be interfering with ANT

[il-antlr-interest: 19816] Re: [antlr-interest] ANTLRworks 1.2.1?

2008-10-03 Thread Randall R Schulz
On Friday 03 October 2008 09:03, Peter C. Chapin wrote: > I saw in a recent message that ANTLRworks 1.2.1 was out > (incorporating ANTLR 3.1.1). However, I don't see it on the web site. > Am I just missing it or has the web site perhaps not yet been > updated? In any case... what was that download

[il-antlr-interest: 19814] Re: [antlr-interest] Rewriting to Flat Tree Nodes for Associative Multiary Operators

2008-10-03 Thread Randall R Schulz
On Friday 03 October 2008 03:02, Gavin Lambert wrote: > At 11:04 3/10/2008, Randall R Schulz wrote: > >op790FormulaFlat > > > >: (op780FormulaFlat -> op780FormulaFlat) > > > >( > >( Or rDisjuncts = op790FormulaFlat) + ) >

[il-antlr-interest: 19806] [antlr-interest] THE STEAMROLLER PROBLEM!

2008-10-02 Thread Randall R Schulz
Hi, Sorry for shouting, but I really would like a definitive answer to this question. ("Steamroller" referring to creating a flat AST.) If one is to parse an infix operator notation, exemplified by this input: 1 OP 2 OP 3 OP 4 OP 5 and produce from it this AST: (OP 1 2 3 4 5)

[il-antlr-interest: 19805] Re: [antlr-interest] your Or ast question

2008-10-02 Thread Randall R Schulz
On Thursday 02 October 2008 17:54, you wrote: > Mr. Schulz :- I'm sorry. My father isn't here right now... > Sorry for this disconnected reply to your last message to me. It's OK. I hope you don't mind my sending the reply back to the list. I'm surprised this seems so difficult (not yet conce

[il-antlr-interest: 19804] [antlr-interest] ANTLRWorks Glitch Exporting Bitmaps

2008-10-02 Thread Randall R Schulz
Hi, I've noticed that if I've reduced the scale of parse tree or AST depiction using the the scale / zoom slider and export an image, it is improperly clipped. Specifically, the bounding box of the exported image is too small and portions at the lower and right edge are lost. It doesn't happe

[il-antlr-interest: 19803] Re: [antlr-interest] Rewriting to Flat Tree Nodes for Associative Multiary Operators

2008-10-02 Thread Randall R Schulz
On Thursday 02 October 2008 16:15, you wrote: > ... > > yes the second (non-recursion form) acts as you report > > > however the former, recursive, form generates (for me) > > (Or p (Or q (Or r s))) > > for your input string. I can't remember anymore, is that what you > wanted? Nope. I can get th

[il-antlr-interest: 19802] Re: [antlr-interest] Rewriting to Flat Tree Nodes for Associative Multiary Operators

2008-10-02 Thread Randall R Schulz
On Thursday 02 October 2008 15:23, Jim Idle wrote: > On Thu, 2008-10-02 at 15:01 -0700, Randall R Schulz wrote: > > On Thursday 02 October 2008 14:29, Jim Idle wrote: > > > Have you tried: > > > > > > > > > o : v1=nextrule > > > (

[il-antlr-interest: 19800] Re: [antlr-interest] Rewriting to Flat Tree Nodes for Associative Multiary Operators

2008-10-02 Thread Randall R Schulz
On Thursday 02 October 2008 14:29, Jim Idle wrote: > On Thu, 2008-10-02 at 14:23 -0700, Randall R Schulz wrote: > > Hi, > > > > Next question. > > > > (I've been spoiled by working mostly with strictly prefix languages > > in the past...) > >

[il-antlr-interest: 19798] Re: [antlr-interest] Rewriting to Flat Tree Nodes for Associative Multiary Operators

2008-10-02 Thread Randall R Schulz
On Thursday 02 October 2008 15:01, Randall R Schulz wrote: > ... > > Whether you include an empty alternative (as you showed) or make the > entire sub-rule optional, as I'd tried earlier: > > op790FormulaFlat > : (op780FormulaFlat -> op780FormulaFl

[il-antlr-interest: 19796] Re: [antlr-interest] Rewriting t o Flat Tree Nodes for Associative Multiary Operators

2008-10-02 Thread Randall R Schulz
On Thursday 02 October 2008 14:33, Jim Idle wrote: > ... > > I should add that this won't be as useful a tree for processing > unless this is a translator and you want to spit this stuff out in > that kind of arrangement. > > Jim Well, in fact I am just writing a transliterator, and since AND and

[il-antlr-interest: 19793] [antlr-interest] Rewriting to Flat Tree Nodes for Associative Multiary Operators

2008-10-02 Thread Randall R Schulz
Hi, Next question. (I've been spoiled by working mostly with strictly prefix languages in the past...) How might I alter a rule such as this one: op790Formula : (op780Formula -> op780Formula) ( Or rDisjunct = op790Formula -> ^(Or $op790Formula $rDisjunct)

[il-antlr-interest: 19792] Re: [antlr-interest] Rewriting Repeatable Prefix Operators To Nested AST Structure

2008-10-02 Thread Randall R Schulz
On Thursday 02 October 2008 12:31, Jim Idle wrote: > On Thu, 2008-10-02 at 12:24 -0700, Randall R Schulz wrote: > > Hi, > > > > I have a couple of productions that use a prefix operator that may > > be repeated arbitrarily. One of them (negation) just has the > >

[il-antlr-interest: 19789] [antlr-interest] Rewriting Repeatable Prefix Operators To Nested AST Structure

2008-10-02 Thread Randall R Schulz
Hi, I have a couple of productions that use a prefix operator that may be repeated arbitrarily. One of them (negation) just has the operator symbol. The other has a keyword (two different keywords, actually) followed by an identifier. For example, with the negation operator, this: ---p

[il-antlr-interest: 19786] Re: [antlr-interest] ANTLR v3.1.1 released

2008-10-02 Thread Randall R Schulz
On Thursday 02 October 2008 10:06, Randall R Schulz wrote: > On Thursday 02 October 2008 09:57, Terence Parr wrote: > > On Oct 2, 2008, at 7:08 AM, Randall R Schulz wrote: > > > On Thursday 02 October 2008 06:48, Randall R Schulz wrote: > > >> On Wednesday 01 Oc

[il-antlr-interest: 19785] Re: [antlr-interest] ANTLR v3.1.1 released

2008-10-02 Thread Randall R Schulz
On Thursday 02 October 2008 09:57, Terence Parr wrote: > On Oct 2, 2008, at 7:08 AM, Randall R Schulz wrote: > > On Thursday 02 October 2008 06:48, Randall R Schulz wrote: > >> On Wednesday 01 October 2008 14:36, Terence Parr wrote: > >>> 3.1.1 released: > >

[il-antlr-interest: 19782] Re: [antlr-interest] ANTLR v3.1.1 released

2008-10-02 Thread Randall R Schulz
On Thursday 02 October 2008 06:48, Randall R Schulz wrote: > On Wednesday 01 October 2008 14:36, Terence Parr wrote: > > 3.1.1 released: > > I'm starting a new parser and upgraded (to 3.1, yesterday and then to > 3.1.1, later yesterday...). Anyway, I was wondering if t

[il-antlr-interest: 19781] Re: [antlr-interest] ANTLR v3.1.1 released

2008-10-02 Thread Randall R Schulz
On Wednesday 01 October 2008 14:36, Terence Parr wrote: > 3.1.1 released: I'm starting a new parser and upgraded (to 3.1, yesterday and then to 3.1.1, later yesterday...). Anyway, I was wondering if the ANTLR command-line interface (org.antlr.Tool#main(), i.e.) gives a non-zero exit code when

[il-antlr-interest: 19776] Re: [antlr-interest] ANTLR v3.1.1 released

2008-10-01 Thread Randall R Schulz
On Wednesday 01 October 2008 15:59, Jim Idle wrote: > On Wed, 2008-10-01 at 15:44 -0700, Randall R Schulz wrote: > > On Wednesday 01 October 2008 14:36, Terence Parr wrote: > > > 3.1.1 released: > > > > I'm getting a huge pile of compile errors, now. > > T

[il-antlr-interest: 19773] Re: [antlr-interest] ANTLR v3.1.1 released

2008-10-01 Thread Randall R Schulz
On Wednesday 01 October 2008 14:36, Terence Parr wrote: > 3.1.1 released: I'm getting a huge pile of compile errors, now. Is there a list of breaking API changes somewhere? It's kind of hard to diff the 3.1 and 3.1.1 Doxygen or JavaDoc output to figure them out... Randall Schulz List: http:/

[il-antlr-interest: 19679] Re: [antlr-interest] antlr-3.1.jar shows up as antlr-2.7.7?

2008-09-23 Thread Randall R Schulz
On Tuesday 23 September 2008 15:06, Jack Spencer wrote: > I'm trying to get antlr-3.1 to run on OS X 10.5.4. > I d/l-ed the antlr-3.1.tar.gz file from the main antlr download page, > have the antlr-3.1.jar in my CLASSPATH. > The CLASSPATH only contains that specific jar. No other antlr > versions

[il-antlr-interest: 19643] Re: [antlr-interest] How can I insert a Token in the token stream?

2008-09-21 Thread Randall R Schulz
On Sunday 21 September 2008 14:44, Randall R Schulz wrote: > On Saturday 20 September 2008 22:00, Yet ANOTHER Test Runner wrote: > > ... > > > > How can I insert a token ';' in the TokenStream if it is omitted. > > Why conceptualize it as inserting a semicol

[il-antlr-interest: 19642] Re: [antlr-interest] How can I insert a Token in the token stream?

2008-09-21 Thread Randall R Schulz
On Saturday 20 September 2008 22:00, Yet ANOTHER Test Runner wrote: > Sorry for my poor English :( > > Many computer languages like TTCN3, allows near '}' token or at the > last statement inside block statement omit ';' token correctly, like > this: > > if(xx){ > > const integer i:=1;//err