Closed xanni closed 2 months ago
A couple challenges here. We need to publish/install the libyamlscript headers so that GO can use them.
Also YAMLScript language bindings only load a specific version of a shared lib. We need to think about how best to do this.
You also probaly want "go get" to work as expected to set up the module, which will require meeting some of Go's naming conventions.
@xanni I created this repo for testing the go-binding. It tests the HEAD commit on the go-binding
branch which is also your fork's main
HEAD.
Details in the ReadMe: https://github.com/ingydotnet/yamlscript-go-test-app#readme
go get
works (via make go-get
) but make go-build
is complaining.
I think we are close. See if you can make it happier.
Add a "go" directory containing a binding for Golang. Note that util/release-assets will need to be modified to create an additonal tag
go/ys/v0.1.63
for thego get
command to work correctly.