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
Jason Gu
4/28/20
Generated golang parser has syntax error
I tried to use antlr-4.8-complete.jar to generate java9 lexer and parser in golang. I used the Java.
unread,
antlr
error
golang
parser
Generated golang parser has syntax error
I tried to use antlr-4.8-complete.jar to generate java9 lexer and parser in golang. I used the Java.
4/28/20
Vifird Micho
,
Mike Lischke
3
12/30/19
Q&A
In `c++`, can't load build/libparser.a as lexer or parser.
Thanks a lot. Feeling sad for this. 在 2019年12月27日星期五 UTC+8下午5:47:23,Mike Lischke写道: I'm using c++
unread,
C
antlr4
grammar
parser
Q&A
In `c++`, can't load build/libparser.a as lexer or parser.
Thanks a lot. Feeling sad for this. 在 2019年12月27日星期五 UTC+8下午5:47:23,Mike Lischke写道: I'm using c++
12/30/19
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
computertopics
11/9/19
using JFileChooser with antlr
I have a grammar file and I want to apply the grammar on any input file that I give but it is hard to
unread,
antlr
examples
grammar
lexer
parser
tutorial
using JFileChooser with antlr
I have a grammar file and I want to apply the grammar on any input file that I give but it is hard to
11/9/19
Exedys Digital
,
Martin Mirchev
2
10/3/20
Using ANTLR4 with LLVM? (specifically llvmlite, a python package)
Hi, I suggest using a visitor to walk the tree and generate IR. This will put most of the complexity
unread,
antlr4
compiler
issue
lexer
llvm
parser
python
Using ANTLR4 with LLVM? (specifically llvmlite, a python package)
Hi, I suggest using a visitor to walk the tree and generate IR. This will put most of the complexity
10/3/20
Gervasius Ishuuwa
2
8/22/19
Q&A
How to convert Antlr parse tree to JSON
On Thursday, 22 August 2019 15:34:15 UTC+2, Gervasius Ishuuwa wrote: HI Guys, I am trying to
unread,
JSON
antlr4
golang
parser
Q&A
How to convert Antlr parse tree to JSON
On Thursday, 22 August 2019 15:34:15 UTC+2, Gervasius Ishuuwa wrote: HI Guys, I am trying to
8/22/19
Федор Усов
,
Martin Mirchev
3
9/30/20
Q&A
Best way to resolve ambiguity
Hi, Can I see the other rule? if you can possibly make the example not contain information which is
unread,
Predicate
ambiguity
antlr
antlr4
grammar
parse
parser
rule
Q&A
Best way to resolve ambiguity
Hi, Can I see the other rule? if you can possibly make the example not contain information which is
9/30/20
Michael Powell
,
Mike Lischke
6
3/25/19
Q&A
How to sort out proper comment lexer rules
On Monday, March 25, 2019 at 12:11:31 PM UTC-4, Mike Lischke wrote: I'm not sure what you mean.
unread,
comments
lexer
parser
protobuf
whitespace
Q&A
How to sort out proper comment lexer rules
On Monday, March 25, 2019 at 12:11:31 PM UTC-4, Mike Lischke wrote: I'm not sure what you mean.
3/25/19
Bill Dickenson
, …
Norman Dunbar
3
3/21/19
Adding line Nubers to Listener
Hi Bill, I might have misunderstood your question, but the following is what I did in an old app of
unread,
antlr
line
parser
Adding line Nubers to Listener
Hi Bill, I might have misunderstood your question, but the following is what I did in an old app of
3/21/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
Michael Powell
3/1/19
When does the generated ExitEveryRule happen
Hello, With respect to the rule-specific Enter/Exit pairs, when does ExitEveryRule actually happen?
unread,
every
exit
parser
rule
timing
When does the generated ExitEveryRule happen
Hello, With respect to the rule-specific Enter/Exit pairs, when does ExitEveryRule actually happen?
3/1/19
Michael Powell
1/31/19
CSharp listener example rather incomplete
Hello, The example is a good start getting one's feet wet with the parser listener issue. However
unread,
CSharp
ast
context
listener
parser
CSharp listener example rather incomplete
Hello, The example is a good start getting one's feet wet with the parser listener issue. However
1/31/19
HmSebastianH
,
Ivan Kochurkin
2
11/29/18
Q&A
No Performance gain from Parser Predicates
Try to move this predicate to the end of the rule: statement : ifStatement | fundctionStatement {
unread,
Predicate
ambiguity
parser
performance
Q&A
No Performance gain from Parser Predicates
Try to move this predicate to the end of the rule: statement : ifStatement | fundctionStatement {
11/29/18
antlrLearner
, …
Mike Cargal
5
10/12/18
Reconstruct the original file by visiting/walking all nodes
Thank you Mike On Thursday, October 11, 2018 at 4:08:35 PM UTC-5, Mike Cargal wrote: Take a look at
unread,
ANLR4
c-sharp
listener
parser
Reconstruct the original file by visiting/walking all nodes
Thank you Mike On Thursday, October 11, 2018 at 4:08:35 PM UTC-5, Mike Cargal wrote: Take a look at
10/12/18
kang joni
, …
Yanxin Guan
6
8/5/18
optional operator matching
Apologize for late reply, turn out.. this is about miscompilation problem. I have custom (my own by
unread,
C
antlr4
grammar
parser
optional operator matching
Apologize for late reply, turn out.. this is about miscompilation problem. I have custom (my own by
8/5/18
Marc Baumbach
, …
Ivan Kochurkin
4
7/30/18
Need pointers for optimizing ANTLR4 lexer/parser
Thanks for the info Ivan, that does pinpoint the problem, though the specific fix doesn't change
unread,
antlr4
lexer
parser
performance
Need pointers for optimizing ANTLR4 lexer/parser
Thanks for the info Ivan, that does pinpoint the problem, though the specific fix doesn't change
7/30/18
Jeffry Angtoni
,
Mike Cargal
3
7/13/18
Q&A
Need help about ANTLR4 grammar for parsing custom commit message.
Yes... I think it will need more effort if I use antlr for parsing the commit message. Now, I've
unread,
antlr4
grammar
lexer
parser
Q&A
Need help about ANTLR4 grammar for parsing custom commit message.
Yes... I think it will need more effort if I use antlr for parsing the commit message. Now, I've
7/13/18
Kumar Gaurav
5/9/18
Q&A
Opinion - antlr vs babeljs for custom syntax on top of JavaScript libraries
I have to develop a custom syntax (language) which under the hood executes functions from JavaScript
unread,
antlr
babeljs
grammar
javascript
parser
Q&A
Opinion - antlr vs babeljs for custom syntax on top of JavaScript libraries
I have to develop a custom syntax (language) which under the hood executes functions from JavaScript
5/9/18
alex;
1/16/18
Re: When to use parser rule and when lexer rule?
Hi. May be so: grammar MyTest; myTestFile: line+ EOF; line: Break Spaces? ((Word | NormalNumbers)
unread,
lexer
parser
rule
whitespace
Re: When to use parser rule and when lexer rule?
Hi. May be so: grammar MyTest; myTestFile: line+ EOF; line: Break Spaces? ((Word | NormalNumbers)
1/16/18
Pranab Chaudhuri
,
Mike Cargal
3
6/18/17
Using ANTLR to convert SAS to spark jobs
I don't think you'll find anything “magic” about what ANTLR provides for this problem.
unread,
Scala
antlr
parser
sas
spark
Using ANTLR to convert SAS to spark jobs
I don't think you'll find anything “magic” about what ANTLR provides for this problem.
6/18/17
Petr Gladkikh
,
Y2i
2
4/5/17
Reactive parser using state machine
Because the Antlr4-generated parser is an adaptive LL(*) parser, depending on the given grammar and
unread,
antlr
parser
reactive
Reactive parser using state machine
Because the Antlr4-generated parser is an adaptive LL(*) parser, depending on the given grammar and
4/5/17
Pengcheng Xiong
12/2/16
code too large problem in Hive Parser
Hello, We are Apache Hive developers here at Hortonworks. In order to have several new features, we
unread,
antlr
parser
tree
code too large problem in Hive Parser
Hello, We are Apache Hive developers here at Hortonworks. In order to have several new features, we
12/2/16
Niels Basjes
,
Mike Lischke
3
11/25/16
Skipping a level in the parse tree
Hi, Yes, my current code works. Yet I want to see if I can make it better/cleaner. The rules of my
unread,
ParseTree
antlr4
parser
tree
Skipping a level in the parse tree
Hi, Yes, my current code works. Yet I want to see if I can make it better/cleaner. The rules of my
11/25/16
Joey Ezechiëls
, …
Jim Idle
9
11/9/16
Q&A
Error when generating Parser for XQuery
Btw, I have noticed something rather strange in that (as can be seen in the logs) the
unread,
error
lexer
parser
Q&A
Error when generating Parser for XQuery
Btw, I have noticed something rather strange in that (as can be seen in the logs) the
11/9/16
Rene Dohmen
2
11/1/16
Use ANTLR to parse fortigate config
Hi, After reading some other posts and answers on stackoverflow and examples from batfish (which also
unread,
lexer
parser
Use ANTLR to parse fortigate config
Hi, After reading some other posts and answers on stackoverflow and examples from batfish (which also
11/1/16
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
Cleverson Ledur
,
Mike Lischke
3
10/12/16
ANTLR 4 CPP Target (Memory and Slow)
tree::ParseTree *tree; auto start = std::chrono::steady_clock::now(); try { tree = parser.query(); I
unread,
antlr4
cpp
parser
ANTLR 4 CPP Target (Memory and Slow)
tree::ParseTree *tree; auto start = std::chrono::steady_clock::now(); try { tree = parser.query(); I
10/12/16
Michal Orsák
, …
Devlin Poster
3
6/24/16
parser works under Java but does not under C++, how to debug?
https://github.com/Nic30/HWToolkit/tree/cppHdlParser/hdl_toolkit/parser/hdlConvertor I have written a
unread,
C-plus-plus
parser
parser works under Java but does not under C++, how to debug?
https://github.com/Nic30/HWToolkit/tree/cppHdlParser/hdl_toolkit/parser/hdlConvertor I have written a
6/24/16
akash.c...@codenation.co.in
,
Eric Vergnaud
6
6/9/16
antlr in python for java code parsing
Hi, you should profile the grammar in Java/IntelliJ which comes with an antlr profiler the provided
unread,
ParseTree
antlr
antlr4
lexer
parser
antlr in python for java code parsing
Hi, you should profile the grammar in Java/IntelliJ which comes with an antlr profiler the provided
6/9/16
Johnny Lee
,
Jim Idle
2
4/27/16
How to get context from ANTLR3_BASE_RECOGNIZER_struct* recognizer (Antlr3 C runtime)
You have probably found these docs, but just in case you have not: http://www.antlr3.org/api/C/ Here
unread,
C
antlr3
parser
runtime
How to get context from ANTLR3_BASE_RECOGNIZER_struct* recognizer (Antlr3 C runtime)
You have probably found these docs, but just in case you have not: http://www.antlr3.org/api/C/ Here
4/27/16