Groups
Sign in
Groups
antlr-discussion
Conversations
Labels
4_2
ALL(*)
ANLR4
ANTL4
ANTRLWorks
ATN
AWK
Backward
Bison
Book
C
C-plus-plus
C-plus-plus-11
CLASSPATH
CSharp
Cgrammar
Compatibility
DEFAULT_MODE
Delphi
EBNF
ECMAScript
EOF
Embarcadero
Excel
Exception
Fortran
GrammarAST
IE
JSON
JavaScript
LL1
Lua
MAP
Mingw
Multiple
NPE
Netbeans
Netbeans-Platform
Node
OpenEdge
Oracle
PATH
PLY
ParseTree
ParseTreePattern
Predicate
Python3
R
RPGLE
RuleContext
Scala
Scala-target
StackOverflow
TestRig
Umlauts
Unparser
V4
VB6
VMF-Text
VRL-Studio
VisualStudioExtensibility
XML
action
actionscript
aether
ambiguity
analysis
antlr
antlr2
antlr3
antlr4
antlr4ide
antlride
antlrv4
antlrworks-1
antlrworks2
as3
ast
attribute
autocomplete
babeljs
beginner
bug
build
c-sharp
c_ansi_cpp
c_preprocessor
calculator
callback
cfg
chapel
checkstyle
chess
clojure
collisions
comment
comments
community
compile
compiler
condition
constraints
context
control
count
cpp
cpp-target
deadlock
decoder
dependency
designing
doesnotwork
dot
dotnet
eclipse
efficiency
equals
error
error-handling
every
ex
example
examples
exit
expression
expressions
fail
failing
flex
float
floating
flow
function
get-rule
golang
google
gradle
grammar
grammer
graph
hashCode
highlighting
hoisting
html
iSeries
identifiers
importing
include
indent
infinite
installation
intellij
interface
isa
issue
java
java8
javascript
keywords
kotlin
kotlin-target
lambda
language-models
left-recursion
legal
lexer
line
linux
listener
llvm
lookahead
loop
machine
markdown
maven
metadata
metalanguage
mode
mono
multiplicity
namespace
newbie
nuget
occurences
order-of-rules
osx
packaging
parameters
parse
parser
parsing
pasrser
patterns
performance
pgn
php
platform
plsql
plugin
point
powerbuilder
precedence
precpred
prettyprinting
priority
protobuf
python
python-target
python2
qscintilla
range
reactive
recognition
recognizer
recursion
relational_algebra
render
requirejs
rewrite
ruby
rule
runtime
samples
sas
scanner
scientific
search-replace
semantic
semantic-action
setTokenBoundaries
skip
slow
solved
some
space
spark
sql
stack
statemachine
stringtemplate
syntactic
syntax
target
template
theory
timing
token
tokens
tool
toy
transformation
translator
tree
treegrammar
tsql
tutorial
unexpectedException
unicode
utf-8
vb6Parser
version
visitor
visualstudio2010
walker
whitespace
windows
xpath
xtext
About
Send feedback
Help
antlr-discussion
1–30 of 2144
Mark all as read
Report group
0 selected
yasser BELHIMER
,
Federico Tomassetti
3
6/23/20
Q&A
check if there is any errors in lexer and parser java antlr4
yes i was looking for an example how to do it .but now i did it thanks . Le lundi 22 juin 2020 22:51:
unread,
ANLR4
ANTL4
ANTRLWorks
antlr
antlr2
antlr3
antlr4
antlr4ide
antlrv4
antlrworks-1
antlrworks2
java
java8
Q&A
check if there is any errors in lexer and parser java antlr4
yes i was looking for an example how to do it .but now i did it thanks . Le lundi 22 juin 2020 22:51:
6/23/20
Ori Doolman
, …
John B. Brodie
7
5/1/20
[Java] Infinite loop in parser
the only infinite loop i am aware of is the one you tripped upon --- a mal-formed lexer that wants to
unread,
infinite
java
loop
parse
[Java] Infinite loop in parser
the only infinite loop i am aware of is the one you tripped upon --- a mal-formed lexer that wants to
5/1/20
Code Query
,
Duane Griffin
4
2/20/20
Tagging generated parse tree classes as implementing interface
Hmm, I see! That does complicate matters. I'm afraid I don't have any very good suggestions
unread,
ParseTree
antlr4
interface
java
visitor
Tagging generated parse tree classes as implementing interface
Hmm, I see! That does complicate matters. I'm afraid I don't have any very good suggestions
2/20/20
Vikram A S
, …
Mike Cargal
5
12/22/19
In antlr nested function using java how to accept dot and special characters
"testtt" and "0" look like they are intended to be strings (it would be quite the
unread,
ATN
RuleContext
antlr4
grammar
grammer
java
lexer
listener
maven
parser
recursion
rule
visitor
In antlr nested function using java how to accept dot and special characters
"testtt" and "0" look like they are intended to be strings (it would be quite the
12/22/19
kasun kavinda
9/13/19
How to convert add line numbers to the parseTree.
I am trying to build a javascript parser using the antlr. I want to Add line numbers of my source
unread,
ANLR4
ParseTree
java
line
How to convert add line numbers to the parseTree.
I am trying to build a javascript parser using the antlr. I want to Add line numbers of my source
9/13/19
Olof Wolgast
2
6/30/19
Parsing with C++ target 5x slower than Java
Forgot to mention that I'm using antlr 4.7.2 On Sunday, June 30, 2019 at 12:02:06 PM UTC+2, Olof
unread,
C
antlr4
java
performance
slow
Parsing with C++ target 5x slower than Java
Forgot to mention that I'm using antlr 4.7.2 On Sunday, June 30, 2019 at 12:02:06 PM UTC+2, Olof
6/30/19
Patrick H
3/15/19
For those looking to parse java files.
For those looking to parse java files. Checkout JavacTo. https://sourceforge.net/projects/javacto/
unread,
compiler
eclipse
java
parser
visitor
For those looking to parse java files.
For those looking to parse java files. Checkout JavacTo. https://sourceforge.net/projects/javacto/
3/15/19
fera...@gmail.com
2/10/19
How can to walk the Ast tree to get every parameter and its type
If I have a function like this int addition ( int a, int b) { int r; r=a+b; return r; } written in
unread,
antlr4
java
How can to walk the Ast tree to get every parameter and its type
If I have a function like this int addition ( int a, int b) { int r; r=a+b; return r; } written in
2/10/19
Marc Pawlowsky
,
Susan Jolly
2
10/3/18
Java add extra members to contexts
Have you read Section 7.5 in the ANTLR 4 book? I found its part on "Annotating Parse Trees"
unread,
RuleContext
java
listener
Java add extra members to contexts
Have you read Section 7.5 in the ANTLR 4 book? I found its part on "Annotating Parse Trees"
10/3/18
Ravi Shekhar
6/25/18
Q&A
Antlr4, How to find the Index of a child node in the Token Stream??
I was trying to make a Control Flow Graph in ANTLR4 for Java. For a conditional statement eg IF-Else,
unread,
antlr4
control
flow
graph
java
Q&A
Antlr4, How to find the Index of a child node in the Token Stream??
I was trying to make a Control Flow Graph in ANTLR4 for Java. For a conditional statement eg IF-Else,
6/25/18
Abdullah Hilson
3
5/10/18
Q&A
Generate Java/Python parser for syntax error checking in the browser
Okay I understood now thanks to eric vergnaud here: https://github.com/antlr/antlr4/issues/2286#
unread,
Python3
grammar
java
javascript
parse
Q&A
Generate Java/Python parser for syntax error checking in the browser
Okay I understood now thanks to eric vergnaud here: https://github.com/antlr/antlr4/issues/2286#
5/10/18
Ashish Shanker
1/3/18
Q&A
Antlr4 - Parser rule specific exception handling not kicking in?
Let's say I have a grammar that looks like this in Antlr4: start: stmts EOF ; stmts: (sqlCommand)
unread,
antlr4
grammar
java
parse
Q&A
Antlr4 - Parser rule specific exception handling not kicking in?
Let's say I have a grammar that looks like this in Antlr4: start: stmts EOF ; stmts: (sqlCommand)
1/3/18
Cristiana Araújo
, …
Eric Vergnaud
4
7/12/17
Q&A
Alternative not to use 'Default Mode' in antlr.
Hi, The use of actions in the grammar is discouraged in antlr4 in favor of listeners or visitors.
unread,
DEFAULT_MODE
antlr4
java
lexer
syntax
Q&A
Alternative not to use 'Default Mode' in antlr.
Hi, The use of actions in the grammar is discouraged in antlr4 in favor of listeners or visitors.
7/12/17
Grayden Hormes
,
Eric Vergnaud
2
6/17/17
Q&A
Python3 grammar does not parse code outside of a class
If you want to parse file, why are trying to parse a classdef? Have you tried parse.file_input() ? Le
unread,
Python3
error
java
parsing
Q&A
Python3 grammar does not parse code outside of a class
If you want to parse file, why are trying to parse a classdef? Have you tried parse.file_input() ? Le
6/17/17
Julian Brendl
, …
Burt_...@hotmail.com
9
5/31/17
Parser very slow on Node JS with Java8 Target
I think you're right about the grammar being the issue to be honest, to reply to your earlier
unread,
Node
antlr4
ast
java
javascript
Parser very slow on Node JS with Java8 Target
I think you're right about the grammar being the issue to be honest, to reply to your earlier
5/31/17
Keith Boshoff
,
Mike Lischke
3
2/23/17
ANTLR 4.6 and C#
Noice! Thanks, Mike! On Tuesday, 21 February 2017 15:44:32 UTC+2, Mike Lischke wrote: Keith, I'm
unread,
CSharp
antlr4
java
windows
ANTLR 4.6 and C#
Noice! Thanks, Mike! On Tuesday, 21 February 2017 15:44:32 UTC+2, Mike Lischke wrote: Keith, I'm
2/23/17
Exemple Thales
10/12/16
probleme with getExpectedTokensWithinCurrentRule in java
hello i try to find a sample for using getExpectedTokensWithinCurrentRule in antlr4 i have this
unread,
antlr4
java
parser
probleme with getExpectedTokensWithinCurrentRule in java
hello i try to find a sample for using getExpectedTokensWithinCurrentRule in antlr4 i have this
10/12/16
Harry
6/22/16
Tool for semantic searching and replacing in a Java codebase.
Hello, I had posted this question (semantic searching and editing in a Java codebase) a couple days
unread,
java
search-replace
semantic
tool
Tool for semantic searching and replacing in a Java codebase.
Hello, I had posted this question (semantic searching and editing in a Java codebase) a couple days
6/22/16
Edgar Buchvalov
, …
Jim Idle
3
5/10/16
Is it possible to add TOKEN automatically if conditional Token is absent
In your listener or visitor, just check if ctx.dr == null. If it does, then you know to add your
unread,
antlr4
java
Is it possible to add TOKEN automatically if conditional Token is absent
In your listener or visitor, just check if ctx.dr == null. If it does, then you know to add your
5/10/16
haolinl...@gmail.com
, …
Jim Idle
6
4/9/16
gc overhead limit exceeded
unfortunately i still that error anymore ideas? On Friday, April 8, 2016 at 12:33:38 PM UTC+1, Jim
unread,
antlr
antlr4
java
java8
gc overhead limit exceeded
unfortunately i still that error anymore ideas? On Friday, April 8, 2016 at 12:33:38 PM UTC+1, Jim
4/9/16
Bruno Vollmer
,
Eric Vergnaud
2
2/23/16
JavaScript Visitor
Mmm... There is a visitor.visit function, which will actually populate the context when traversing
unread,
antlr4
java
javascript
visitor
JavaScript Visitor
Mmm... There is a visitor.visit function, which will actually populate the context when traversing
2/23/16
Heet Sheth
12/21/15
Having trouble in building parser
Hello, I am planning to build a parser, that parse only particular format as below. Dec 17 14:00:00
unread,
antlr4
antlrworks2
grammar
java
parse
Having trouble in building parser
Hello, I am planning to build a parser, that parse only particular format as below. Dec 17 14:00:00
12/21/15
Artyom Aleksyuk
,
Terence Parr
4
5/25/15
Q&A
Antlr4: pretty printing a Java code
hi. added a FAQ for you: https://theantlrguy.atlassian.net/wiki/pages/viewpage.action?pageId=16809986
unread,
antlr4
java
prettyprinting
transformation
Q&A
Antlr4: pretty printing a Java code
hi. added a FAQ for you: https://theantlrguy.atlassian.net/wiki/pages/viewpage.action?pageId=16809986
5/25/15
Farzaneh Taleb
, …
Martijn Reuvers
6
1/14/15
Q&A
antler , Java , IDE ?!
Works fine for me as well in intellij 14. Martijn On Wed, Jan 14, 2015 at 10:17 PM, Terence Parr <
unread,
Netbeans
antlride
eclipse
intellij
java
Q&A
antler , Java , IDE ?!
Works fine for me as well in intellij 14. Martijn On Wed, Jan 14, 2015 at 10:17 PM, Terence Parr <
1/14/15
Christian Beikov
,
Terence Parr
2
12/8/14
Javascript target
We will be releasing 4.5 soon. I'm in finals week :) Ter On Dec 8, 2014, at 2:24 PM, Christian
unread,
antlr4
java
Javascript target
We will be releasing 4.5 soon. I'm in finals week :) Ter On Dec 8, 2014, at 2:24 PM, Christian
12/8/14
Cody Christopher
,
Jim Idle
3
12/4/14
ANTLR4.2 Odd Bug.
Replace all your literals (',' '=' etc) with references to the their lexical tokens (
unread,
antlr4
antlrworks2
java
visitor
ANTLR4.2 Odd Bug.
Replace all your literals (',' '=' etc) with references to the their lexical tokens (
12/4/14
Jav
,
Bence Erős
2
11/20/14
Annotating java class for DataNucleus with ANTLR4
Hello, I'm afraid you will have to slightly modify the Java.g4 grammar, since that one skips the
unread,
antlr4
java
Annotating java class for DataNucleus with ANTLR4
Hello, I'm afraid you will have to slightly modify the Java.g4 grammar, since that one skips the
11/20/14
Right_Then
,
Sam Harwell
13
7/23/14
Code Too Large For Try Statement
Thanks Mr. Sam for all the trouble I will check it. Thanks Regards Right_Then
unread,
antlr4
error
java
Code Too Large For Try Statement
Thanks Mr. Sam for all the trouble I will check it. Thanks Regards Right_Then
7/23/14
ViCu
7/15/14
ANTLR4 c# java examples wanted
Hello all, I am trying to make an code for parsing ac ansi file using ANTLR4 . For this I would liek
unread,
antlr4
c-sharp
examples
java
ANTLR4 c# java examples wanted
Hello all, I am trying to make an code for parsing ac ansi file using ANTLR4 . For this I would liek
7/15/14
Humberto Mejias
,
Mike Lischke
2
7/15/14
SQL and relational algebra
Hi Humberto, that's a very broad question. My advice: instead of directly jumping on the waggon
unread,
antlr
java
relational_algebra
sql
syntax
SQL and relational algebra
Hi Humberto, that's a very broad question. My advice: instead of directly jumping on the waggon
7/15/14