Go中的上下文无关语法(CFG)解析器

I am looking for a Go library providing CFG parsing (preferably not in Chomsky Normal Form). Has anybody heard of anything, or should I write it ? :)

Do you know about goyacc?. Although it's not a library, but a code generator. Anyway it supports CFGs and it's IMO a pretty standard way to handle such tasks. (?)

I cannot help you specifically with CFGs, but the Go Dashboard is a good central list of Go libraries.

Looking over it for parsers, two look helpful at first glace:

  • go-parse, modeled after Haskell's Parsec, and
  • peg for Parsing Expression Grammars.