3 ms·
Go also has a builtin yacc implementation: https://golang.org/cmd/yacc/ https://golang.org/cmd/yacc/ It is largely transliterated from the Inferno version
by ryancox 10y ago
Go also has a builtin yacc implementation: https://golang.org/cmd/yacc/ https://golang.org/cmd/yacc/
It is largely transliterated from the Inferno version
written in Limbo which in turn was largely transliterated
from the Plan 9 version written in C and documented at
http://plan9.bell-labs.com/magic/man2html/1/yacc
For a real example in action, see the mtail project: https://github.com/google/mtail/blob/master/vm/compiler.go https://github.com/google/mtail/blob/master/vm/compiler.go