Package Usage: go: github.com/alecthomas/participle/v2
Package participle constructs parsers from definitions in struct tags and parses directly into
those structs. The approach is philosophically similar to how other marshallers work in Go,
"unmarshalling" an instance of a grammar into a struct.
The supported annotation syntax is:
The following modifiers can be used after any expression:
Here's an example of an EBNF grammar.
21 versions
Latest release: plus d'un an ago
774 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/alecthomas/participle/v2