glycerine / zygomys

Zygo is a Lisp interpreter written in 100% Go. Central use case: dynamically compose Go struct trees in a zygo script, then invoke compiled Go functions on those trees. Makes Go reflection easy.
https://github.com/glycerine/zygomys/wiki
BSD 2-Clause "Simplified" License
1.71k stars 81 forks source link

request 5.0 update guide #21

Open zippy opened 6 years ago

zippy commented 6 years ago

As of this morning my app which uses zygo no longer complies because the github.com/glycerine/zygomys/repl directory, which is what I used go get off of is gone, and it looks like the Glisp object is also gone. Could you please post a developer upgrade guide?

glycerine commented 6 years ago

@zippy Hi Eric!

Thanks for using zygo and for filing this.

Sorry for the breaking changes. I know Go doesn't handle versioning very well.

First the quick fix: I incremented the major version to 5 to indicate breaking changes. If you want to use the last in the 4 series, simply git checkout v4.8.3 and you should be good to go.

Now for the update guide. The 5.0 release refactors in two simple ways:

a) github.com/glycerine/zygomys/repl is renamed to github.com/glycerine/zygomys/zygo to match the convention that the directory and the package name are the same;

b) The Glisp object is renamed to Zlisp, because its no longer keeping vestigial baggage from its parent project.

That should be it. Let me know if that doesn't suffice to get you going! I'll leave this open in case there's anything else.

glycerine commented 6 years ago

@zippy Out of curiosity, is your project open source (if so could I put a pointer to it in the readme)? What do you use zygo for? Thanks!

zippy commented 6 years ago

Thanks,

Please do! https://github.com/metacurrency/holochain

glycerine commented 6 years ago

Nice project! I added a link to the readme. Thanks!