Grammars written for ANTLR v4; expectation that the grammars are free of actions.
Switch branches/tags
Clone or download
Pull request Compare This branch is 2026 commits behind antlr:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
abnf
agc
antlr3
antlr4
arithmetic
asm6502
asn
aspectj
atl
basic
bnf
c
calculator
clf
clif
clojure
cobol85
cpp
creole
csharp
csv
datetime
dcm
dot
ecmascript
erlang
fasta
fol
fortran77
fusion-tables
gff3
gml
golang
graphql
html
icalendar
idl
informix
iri
java
java8
javadoc
jpa
json
kuka
less
logo
lolcode
lua
masm
mdx
memcached_protocol
modelica
modula2pim4
mps
mumath
mumps
mysql
objc
oncrpc
pascal
pcre
pddl
pdp7
peoplecode
pgn
php
plsql
postalcode
propcalc
protobuf3
python3
r
rcs
redcode
robotwars
ruby
scala
scss
sexpression
sharc
smalltalk
snobol
sparql
sqlite
stacktrace
stringtemplate
suokif
support/bnf2antlr
swift-fin
swift
telephone
tiny
tinyc
tnsnames
tnt
tsql
turtle
ucb-logo
unicode
url
useragent
vb6
vba
verilog
vhdl
wavefront
webidl
xml
xpath
.gitattributes
.gitignore
.travis.yml
README.md
pom.xml

README.md

grammars-v4

Grammars written for ANTLR v4

This repository is a collection of grammars without actions where the root directory name is the all-lowercase name of the language parsed by the grammar. For example, java, cpp, csharp, c, etc...

Beware of the licenses on the individual grammars. THERE IS NO COMMON LICENSE! When in doubt or you don't know what you're doing, please use the BSD or MIT license.

Testing the Grammars

mvn clean test

Travis Status