[go-nuts] Re: how to parse script expression with go and run the script

2017-02-16 Thread Jason E. Aten
Hello Hui, I would invite you try my scripting language, zygomys. It is 100% Go. It offers both (lisp) and {infix} syntax. https://github.com/glycerine/zygomys - Jason On Wednesday, February 15, 2017 at 12:48:32 AM UTC-6, hui zhang wrote: > > I am developing a game engine > I wish some

[go-nuts] Re: how to parse script expression with go and run the script

2017-02-15 Thread howardcshaw
The go/parse package is not really going to help much, as Go is a compiled language. What you are wanting is something akin to a scripting language, something with an 'eval' type function. While it is just barely feasible that you could accomplish something directly with Go using on-the-fly