thrift2interface is a small project I developed for auto generating go interfaces from thrift by Antlr4. This could be easily done by following the steps in Parsing with ANTLR 4 and Go with some extra efforts: Grammar The struct definition from the canonical Thrift.g4 may cause exceptions when generating Golang runtimes, this can be fixed … Continue reading "Parse thrift in Go: the Antlr Way"
Read More