prolog
prolog copied to clipboard
How install on WSL ?
When I try on WSL I get:
$ go get -u github.com/ichiban/prolog
package embed: unrecognized import path "embed" (import path does not begin with hostname)
package io/fs: unrecognized import path "io/fs" (import path does not begin with hostname)
$
@Jean-Luc-Picard-2021 Hi! Both embed
and io/fs
are introduced in go1.16. Could you run $ go version
and see if it's newer than 1.16, please? If it's older, upgrading Go will solve the problem.
Yes, could be the issue, I am only using go1.10.
I'm using WSL2 (Ubuntu 20) and sudo apt install golang
will get a working version.
$ go version
go version go1.18.1 linux/amd64
The interpreter itself works great on Windows, but it seems like 1pl can't pick up keyboard input from the Windows terminal. I might take a crack at fixing that.