News for hackers. Stuff that matters.
Re:Neugram – Scripting in Go by crawshaw on Friday November 03, 2017 @10:12PM (#15623464)
My goal is very much to reuse Go packages. It is somewhat working today. The underlying mechanism is when you type something like:

    import "github.com/pkg/errors"
A .go wrapper file is generated, a Go plugin is built, and then loaded into the ng executable. You can then use the errors package in the Neugram evaluator. Under the hood the lifting is done by the reflect package.

Very much my goal is when scripting, to use the os.Open and ioutil.ReadFile I know, along with filepath.Join, time.Now, and friends.

There are no comments on this comment yet.