All Projects → antlr → Antlr4

antlr / Antlr4

Licence: other
ANTLR (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing, or translating structured text or binary files.

Programming Languages

python
139335 projects - #7 most used programming language
java
68154 projects - #9 most used programming language
swift
15916 projects
dart
5743 projects
C#
18002 projects
C++
36643 projects - #6 most used programming language

Projects that are alternatives of or similar to Antlr4

LeagueReplayParser
C# library which can read some data from a .rofl file, and start a replay in the client. (no longer actively maintained)
Stars: ✭ 20 (-99.82%)
Mutual labels:  parse, parsing
Nice Parser
Nice parsers in OCaml without the boilerplate
Stars: ✭ 91 (-99.19%)
Mutual labels:  parser-generator, parsing
Covfefe
A parser for nondeterministic context free languages
Stars: ✭ 49 (-99.56%)
Mutual labels:  parsing, parser-generator
YaccConstructor
Platform for parser generators and other grammarware research and development. GLL, RNGLR, graph parsing algorithms, and many others are included.
Stars: ✭ 36 (-99.68%)
Mutual labels:  parsing, parser-generator
Pidgin
C#'s fastest parser combinator library
Stars: ✭ 469 (-95.82%)
Mutual labels:  parsing, parse
desktop
Extendable calculator for the 21st Century ⚡
Stars: ✭ 85 (-99.24%)
Mutual labels:  parse, parsing
rest-query-parser
Query Parser for REST
Stars: ✭ 29 (-99.74%)
Mutual labels:  parse, parsing
abnf parsec
ABNF in, parser out
Stars: ✭ 42 (-99.63%)
Mutual labels:  parsing, parser-generator
Cpp Peglib
A single file C++ header-only PEG (Parsing Expression Grammars) library
Stars: ✭ 435 (-96.13%)
Mutual labels:  parser-generator, parsing
Angourimath
Open-source symbolic algebra library for C# and F#. One of the most powerful in .NET
Stars: ✭ 266 (-97.63%)
Mutual labels:  parsing, parse
kolasu
Kotlin Language Support – AST Library
Stars: ✭ 45 (-99.6%)
Mutual labels:  parsing, antlr4
Rust Peg
Parsing Expression Grammar (PEG) parser generator for Rust
Stars: ✭ 836 (-92.55%)
Mutual labels:  parser-generator, parsing
copper
An integrated context-aware scanner and parser generator
Stars: ✭ 14 (-99.88%)
Mutual labels:  parsing, parser-generator
python-yamlable
A thin wrapper of PyYaml to convert Python objects to YAML and back
Stars: ✭ 28 (-99.75%)
Mutual labels:  parse, parsing
pe
Fastest general-purpose parsing library for Python with a familiar API
Stars: ✭ 21 (-99.81%)
Mutual labels:  parsing, parser-generator
fefe
Validate, sanitize and transform values with proper TypeScript types and zero dependencies.
Stars: ✭ 34 (-99.7%)
Mutual labels:  parse, parsing
Pegparser
💡 Build your own programming language! A C++17 PEG parser generator supporting parser combination, memoization, left-recursion and context-dependent grammars.
Stars: ✭ 164 (-98.54%)
Mutual labels:  parser-generator, parse
lilt
LILT: noun, A characteristic rising and falling of the voice when speaking; a pleasant gentle accent.
Stars: ✭ 18 (-99.84%)
Mutual labels:  parse, parser-generator
inmemantlr
ANTLR as a libray for JVM based languages
Stars: ✭ 87 (-99.23%)
Mutual labels:  parsing, parser-generator
Owl
A parser generator for visibly pushdown languages.
Stars: ✭ 645 (-94.25%)
Mutual labels:  parser-generator, parsing

ANTLR v4

Java 7+ License

Build status

Github CI Build Status (MacOSX) AppVeyor CI Build Status (Windows) Circle CI Build Status (Linux) Travis-CI Build Status (Swift-Linux)

ANTLR (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing, or translating structured text or binary files. It's widely used to build languages, tools, and frameworks. From a grammar, ANTLR generates a parser that can build parse trees and also generates a listener interface (or visitor) that makes it easy to respond to the recognition of phrases of interest.

Given day-job constraints, my time working on this project is limited so I'll have to focus first on fixing bugs rather than changing/improving the feature set. Likely I'll do it in bursts every few months. Please do not be offended if your bug or pull request does not yield a response! --parrt

Donate

Authors and major contributors

Useful information

You might also find the following pages useful, particularly if you want to mess around with the various target languages.

The Definitive ANTLR 4 Reference

Programmers run into parsing problems all the time. Whether it’s a data format like JSON, a network protocol like SMTP, a server configuration file for Apache, a PostScript/PDF file, or a simple spreadsheet macro language—ANTLR v4 and this book will demystify the process. ANTLR v4 has been rewritten from scratch to make it easier than ever to build parsers and the language applications built on top. This completely rewritten new edition of the bestselling Definitive ANTLR Reference shows you how to take advantage of these new features.

You can buy the book The Definitive ANTLR 4 Reference at amazon or an electronic version at the publisher's site.

You will find the Book source code useful.

Additional grammars

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...

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].