Registry / utility / prataprc-goparsec

prataprc-goparsec

JSON →
library0.0.0-20211219142520-daac0e635e7egogounverified

Provides a library of parser combinators for building parsers in Go.

go get github.com/prataprc/goparsec
INSTALL
IMPORT
SIG · PRATAPRC-GOPARSEC
P
prataprc-goparsec
utilitygov0.0.0-20211219142520-daac0e635e7e
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

parsec
✓ github.com/prataprc/goparsec

Creates a simple scanner and parser to match the string 'hello'.

package main import ( "fmt" "github.com/prataprc/goparsec" ) func main() { scanner := parsec.NewSimpleScanner([]byte("hello")) parser := parsec.Str("hello") node, _ := parser(scanner) fmt.Println(node) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20211219142520-daac0e635e7elatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
prataprc-goparsec — go get prataprc-goparsec · libregistry