4 alecthomas/participle: A parser library for Go

github.com godoc.org goreportcard.com posted by kenny 1111 days ago  

The goal of this package is to provide a simple, idiomatic and elegant way of defining parsers in Go.

Participle's method of defining grammars should be familiar to any Go programmer who has used the encoding/json package: struct field tags define what and how input is mapped to those same fields. This is not unusual for Go encoders, but is unusual for a parser.

Register to comment or vote on this story