ANTLR

ANTLR is a groovy and widely-used open-source parser and translator generator tool supported by those hip cats at jGuru.   <<Less

SUBSCRIBE       NEW TOPIC
Results  1191 to 1200 of 1211  « Prev 1... 113 114 115 116 117 118 119 120 121 122 Next » 
 
It is needed sometimes to declare result keeping local variable as final . The synthax rule return...
Mon 12/20/04
09:47:20AM
 
2
Fri 12/17/04
01:49:53PM
76
 
 
I'm sorry if this question was asked before - jGuru does not enable search for not advanced users. L...
Tue 12/28/04
08:23:22AM
 
2
Fri 12/17/04
06:21:28AM
84
 
 
The following rule was defined: identifier returns [String res=null]: {res = LT(1).getText();} ~(S...
Thu 02/03/05
03:07:23AM
 
0
Thu 02/03/05
03:07:23AM
108
 
 
Currently, result of a subrule can be assigned to a variable: rule: {final String name;} name=name...
Fri 12/17/04
02:33:13AM
 
1
Fri 12/17/04
01:08:24AM
82
 
 
This situation is (well) thought-out in ANTLR: "literals override the more general identifier patter...
Fri 12/17/04
02:30:37AM
 
1
Thu 12/16/04
07:10:00AM
85
 
 
 
I will not bring the quotations from the manual telling us that the lexer uses the same algorithms a...
Mon 03/14/05
07:33:13AM
 
1
Wed 02/02/05
01:50:50AM
94
 
 
The documentation merely tells that returning false is enaught to fail parsing, but nothing is tol...
Fri 12/17/04
02:36:19AM
 
1
Tue 12/14/04
09:24:17PM
104
 
 
For example, the ALTR rule edifVersion: LP "edifVersion" ver:NUM RP {(ver.getText().compareTo("2")...
Fri 12/17/04
02:39:50AM
 
1
Tue 12/14/04
08:53:46PM
98
 
 
this is translated correctly: ConstToken ct = new ConstToken(CONST, $getText, 100); $setToken(...
Wed 01/26/05
03:15:20AM
 
0
Wed 01/26/05
03:15:20AM
85
 
 
The lexer return token class objects. Actually, the lexer matches complex tokens, like floating poin...
Wed 01/26/05
02:43:47AM
 
0
Wed 01/26/05
02:43:47AM
106
 
 
 
Results  1191 to 1200 of 1211  « Prev 1... 113 114 115 116 117 118 119 120 121 122 Next » 
"ANTLR" is moderated by Moderators:  SAdmin
About | Sitemap | Contact