peg-go

implementation of a Packrat parser generator in Go

Install

All systems
curl cmd.cat/peg-go.sh
Debian Debian
apt-get install peg-go
Ubuntu
apt-get install peg-go
image/svg+xml Kali Linux
apt-get install peg-go
Windows (WSL2)
sudo apt-get update sudo apt-get install peg-go
Raspbian
apt-get install peg-go

peg-go

implementation of a Packrat parser generator in Go

Peg, Parsing Expression Grammar, is an implementation of a Packrat parser generator. A Packrat parser is a descent recursive parser capable of backtracking. The generated parser searches for the correct parsing of the input. This is the main package used to generate code.