A Cooklang parser in Go.
See the pcook
executable for usage.
Issues and pull requests welcome.
canonical.yaml
is updated manually. It should be in lockstep with the official canonical tests.
go test ./...
- Cooklang
- aquilax/cooklang-go - another Cooklang parser in Go, from which I borrowed the test JSON (thank you!)
- Lexical Scanning in Go, Rob Pike, 2011 - basis for the lexer