-
Notifications
You must be signed in to change notification settings - Fork 24
How build goyacc tool in GO #23
Comments
I'm not sure if I understand the problem. Anyway, please try issuing $ go get -u github.com/cznic/goyacc If that does not work for you, please report back, preferably including the output of $ go get -u -v github.com/cznic/goyacc or any other diagnostics you can provide, thank you. |
i old work with yacc on go 1.6 or 1.5 or 1.4. i first delete $ go get -u github.com/cznic/goyaccDone $ go get -u -v github.com/cznic/goyacc
$ make
|
Well, the output seems to indicate the installation went smoothly with no problems. You should be now able to find the |
Here it seems to work as well: jnml@4670:~$ ls -a $(which goyacc)
/home/jnml/bin/goyacc
jnml@4670:~$ rm /home/jnml/bin/goyacc
jnml@4670:~$ go get -u -v github.com/cznic/goyacc
github.com/cznic/goyacc (download)
github.com/cznic/mathutil (download)
github.com/cznic/parser (download)
github.com/cznic/golex (download)
github.com/cznic/strutil (download)
github.com/cznic/sortutil (download)
github.com/cznic/y (download)
github.com/cznic/goyacc
jnml@4670:~$ ls -la $(which goyacc)
-rwxrwxr-x 1 jnml jnml 3397456 bře 9 20:33 /home/jnml/bin/goyacc
jnml@4670:~$ |
|
That seems okay. |
$ makego fmt ========== you sure then test goyacc on GO 1.8? |
Yes, you should now have the You don't need to invoke Anyway running |
$ go install github.com/cznic/goyacc
$ goyacc -h
$ make
|
Plase specify what is meant by empty. It looks like you have the correct I guess there might be a problem of communicating in English, maybe Google Translate can be useful for this. Please try to reformulate the problem in terms of what are you trying to achieve, what you've tried and how does the outcome differs from the expectations. Knowing that will help me to help you ;-) |
$ which goyacc i want use from |
Ah, here we go ;-) If you want to use go get -u golang.org/x/tools/cmd/goyacc |
$ go get -u golang.org/x/tools/cmd/goyacc$ go tool yaccgo tool: no such tool "yacc" TestData of GoYacc Directory
i can build yacc with |
I've raised a question at the mailing list: https://groups.google.com/d/topic/golang-nuts/oiaNlQdqPb8/discussion Sorry for providing you with a non-working recipe, I am surprised that it does not work. |
tank you...., i waiting for you. 👍 |
Update: As far as I can tell now, the problem is that the After doing $ go get -u golang.org/x/tools/cmd/goyacc on must invoke the tool directly $ goyacc Note that the |
hi
How build goyacc tool in GO?
i have
goyacc -h
package in my system.but want install
go tool yacc
on go 1.8how can do this?
$ make
The text was updated successfully, but these errors were encountered: