Open jkleiser opened 5 years ago
Yeah. Sorry this isn't clearer. It's perfectly natural to wonder why this would work at all. After all. Without a prior function definition, defmap
, or registration of a Go struct, none of the snoopy
, hornet
, or weather
calls should work. Nobody has defined those functions.
So what is going on. Well, there is a special flag for demo and testing purposes.
https://github.com/glycerine/zygomys/blob/master/zygo/cfg.go#L43
So the trick is, starting zygo with zygo -demo
will register those functions, letting the example function.
I just installed zygo v5.0.1 on my Mac (macOS 10.14.1), and when I try the example I found in the wiki
then I get
What may be the problem here?