Skip to content

Releases: godevsig/gshellos

v1.0.1

19 Apr 13:39
Compare
Choose a tag to compare
v1.0.1 Pre-release
Pre-release

change log

The first release of gshellos based on tengo, adding

  • multiple VMs running in the same address space, see example/govm_test.gsh
    • with built-in function go(fn, arg1, arg2, ...), an independent concurrent goroutine VM is created to run fn(arg1, arg2, ...)
    • the parent VM exits only if all the descendent goroutines exit
    • the error of parent VM includes all errors occurred in its descendent goroutine VMs
  • native go extension framework, see extension/shell
  • testing/coverage framework with "//output:" and "//unordered output:" keywords, see example/oop_test.gsh
  • REPL in cmd/gshell, and the ability to extend user customized cli
  • API ToObject() and FromObject() to convert tengo object from/to native go
  • channel related built-in functions