ANTLR (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing, or translating structured text or binary files.
-
Updated
Oct 4, 2020 - Java
{{ message }}
A grammar describes the syntax of a programming language, and might be defined in Backus-Naur form (BNF). A lexer performs lexical analysis, turning text into tokens. A parser takes tokens and builds a data structure like an abstract syntax tree (AST). The parser is concerned with context: does the sequence of tokens fit the grammar? A compiler is a combined lexer and parser, built for a specific grammar.
ANTLR (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing, or translating structured text or binary files.
PEG.js: Parser generator for JavaScript
Parsing Expression Grammar (PEG) parser generator for Rust
Command pigeon generates parsers in Go from a PEG grammar.
A single file C++ header-only PEG (Parsing Expression Grammars) library
a parser and lexer generator as a Rust procedural macro
The implementation of the Rascal meta-programming language (including interpreter, type checker, parser generator, compiler and JVM based run-time system)
竜 TatSu generates Python parsers from grammars in a variation of EBNF
Symbolic parser generator for Julia language expressions using REDUCE algebra term rewriter
Home of LoycCore, the LES language of Loyc trees, the Enhanced C# parser, the LeMP macro preprocessor, and the LLLPG parser generator.
The Zephir Parser delivered as a C extension for the PHP language.
PEGs for Nim, another take
A modified version of the Irony project (https://irony.codeplex.com) with .NET Core support
a C# embeddable lexer and parser generator (.Net core)
JavaScript practical parser generator library using combinators
Generates generalised LL (GLL) parsers with matching lexers
Nice parsers in OCaml without the boilerplate
EBNF parser and generic parser generator for Ruby.
A small and easy to use parser generator. Specify your grammar in pure java and compile dynamically. Especially suitable for DSL creation in java.
Lexer Generator and Parser Generator as a Library in Nim.
ANTLR as a libray for JVM based languages
Grammatica is a C# and Java parser generator (compiler compiler)
Plugin for pegjs to generate TypeScript parsers.
Generates Elm types, JSON decoders, JSON encoders and fuzz tests from JSON schema specifications
Convenient parser generator for Python(check out https://github.com/thautwarm/RBNF for an advanced version).
The rust code in the
.lalrpopfiles are still on rust 2015 and need to be manually updated sincecargo fixwon't work on those files.We should also update the generated code to emit 2018 idiomatic code (see #2018 )