github.com/alecthomas/parser
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: Here's an example of an EBNF grammar.
Ecosystem
proxy.golang.org
proxy.golang.org
Latest Release
over 5 years ago
v0.7.1
over 5 years ago
Versions
13
13
Loading...
Readme
Loading...
Links
| Registry | proxy.golang.org |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:golang/github.com/alecthomas/parser
spec |
| License | MIT |
| Namespace | github.com/alecthomas |
| First Release | over 7 years ago |
| Last Synced | 23 days ago |
Rankings on proxy.golang.org
Overall
Top 8.2%