Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rwxrob/pegn-go
🌑 PEGN library in Go
https://github.com/rwxrob/pegn-go
go golang grammar library parser peg pegn
Last synced: 4 months ago
JSON representation
🌑 PEGN library in Go
- Host: GitHub
- URL: https://github.com/rwxrob/pegn-go
- Owner: rwxrob
- License: apache-2.0
- Created: 2020-12-13T13:59:44.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-02-18T14:13:49.000Z (almost 2 years ago)
- Last Synced: 2024-10-04T18:51:09.591Z (4 months ago)
- Topics: go, golang, grammar, library, parser, peg, pegn
- Language: Go
- Homepage:
- Size: 139 KB
- Stars: 7
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING
- License: LICENSE
Awesome Lists containing this project
README
# PEGN Parser Generator
This generator was built by [di-wu](https://github.com/di-wu) and is
based on the original functional AST parser created by
[rwxrob](https://github.com/rwxrob) using a unique, Go-friendly
types-as-operators approach to facilitate the early stages of parser
design and development. The plan is to rewrite this generator with two
modes, the more understandable but less efficient current functional
method, and a more performant single, recursive-descent parser upon
which future regex-like functions will be created.## Installation
Run the following to generate the `pegn` parser subpackage from the
canonical specification sources:```shell
go generate
```