Open QuestionPython opened 7 years ago
go generate
go tool: no such tool "yacc"(https://github.com/cznic/goyacc/issues/23)(not work in go 1.8) you just use golex -o lexer.go lexer.l , goyacc -o parser.go parser.l
golex -o lexer.go lexer.l
goyacc -o parser.go parser.l
golex -o lex.go lex.rl
Error: lex.rl:6:2:"syntax error"
2017/03/12 18:55:36 main.go:111: lex.rl:6:2:"syntax error"
Fix this. :+1:
!
go tool: no such tool "yacc"(https://github.com/cznic/goyacc/issues/23)(not work in go 1.8) you just use
golex -o lexer.go lexer.l
,goyacc -o parser.go parser.l
Error: lex.rl:6:2:"syntax error"
2017/03/12 18:55:36 main.go:111: lex.rl:6:2:"syntax error"
Fix this. :+1: