goyaccparse

That a demo for goyacc.

Run Env

Macos 10.14.6

go mod download

generate yacc

cd /Users/ouyangbin/Documents/001_work/01_git/goyaccparse/parser/goyacc
goyacc -l -v /Users/ouyangbin/Documents/001_work/01_git/goyaccparse/parser/y.output -o /Users/ouyangbin/Documents/001_work/01_git/goyaccparse/parser/parser.go /Users/ouyangbin/Documents/001_work/01_git/goyaccparse/parser/parser.y

GitHub

View Github