Created
May 17, 2019 03:14
-
-
Save tlightsky/9a163e59b6f3b05dbac8fc6b459a43c0 to your computer and use it in GitHub Desktop.
install goyacc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
go get -u golang.org/x/tools/cmd/goyacc |
please, do you kown how to run the tool?
checkout these:
https://github.com/vectorengine/vectorsql/blob/master/src/parsers/sqlparser/sql.y
https://github.com/pingcap/parser/blob/master/parser.y
I mean the usage... sorry...
I try to use yacc
, go tool yacc
or go tool goyacc
but none is worded, so i push my issue under the github page of yacc
, they tell me that I can try goyacc
... now it work (after I change the PATH)
Thanks.
The proper command is now go install golang.org/x/tools/cmd/goyacc@master
if you want to make this available in your go bin path.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
please, do you kown how to run the tool?