this is a example for goyacc START install goyacc cd ./json && goyacc -o yacc.go yacc.y see parser.go