An embedded language for Go.
An embedded language for Go.
Gates | Lua 5.3+ | JavaScript | |
---|---|---|---|
Int64 support | Y | Y | N |
Compatible with JSON | Y | N (hard to distinguish between [] and {} ) |
Y |
Easily embedded in Go | Y | N | N |
$ go get -u github.com/lujjjh/gates/cmd/gates
$ echo '[1, 2, 3] | map(x => x * x)' | gates
# 1,4,9