peg

Parser generator

An implementation of a Packrat parser generator for creating grammars similar to regular expressions but with better code integration.

Peg, Parsing Expression Grammar, is an implementation of a Packrat parser generator.

GitHub

1k stars
30 watching
120 forks
Language: Go
last commit: 3 months ago
Linked from 2 awesome lists


Backlinks from these awesome lists:

Related projects:

Repository Description Stars
kevinmehall/rust-peg A parser generator tool that creates recursive descent parsers from concise grammar definitions. 1,467
dlang-community/pegged A tool for building parsing expression grammars in D programming language 534
pyparsing/pyparsing A Python library for building and executing grammars using a parsing-expression grammar approach 2,233
tanakh/peggy A parser generator for Haskell that focuses on simplicity and conciseness while providing fast and modern parsing capabilities 93
dbremner/peg-sharp Automates C# code generation for arbitrary parsing expression grammars. 3
jwtowner/lug A C++ library for defining and executing parsers as extended parsing expression grammars with support for context-sensitive grammar handling. 68
ravi-delia/uclp An implementation of parsing expression grammars in Common Lisp 21
aappleby/matcheroni A minimalist C++20 library for building pattern-matchers and parsers using Parsing Expression Grammars (PEGs) 198
yhirose/cpp-peglib A C++ header-only library for parsing expression grammars with support for linear-time parsing and syntax sugar. 903
cameronhunter/rollup-plugin-pegjs An npm package that allows importing PEG.js grammars as parsers directly in code 7
sirthias/parboiled2 A macro-based PEG parser generator for Scala that enables fast and elegant parsing of arbitrary input text. 717
otac0n/pegasus A PEG parser generator for C# that integrates with MSBuild and Visual Studio 206
sqmedeiros/lpeglabel An extension of LPeg that supports parsing expression grammars with labeled failures 140
pygy/lulpeg A Lua implementation of a Parsing Expression Grammar library 251
jgm/peg-markdown An implementation of markdown syntax in C using a parsing expression grammar 696