GoScript is a dynamically typed, interpreted language created out of curiosity of "How do you build a programming language?"
- Go 1.24
go install github.com/hyperioxx/goscript/cmd/goscript@latest Example syntax:
// variable declaration
myInt = 1
myString = "foo"
myFloat = 1.0
myArray = [1,2,3,4,"bar"]
// conditionals
if myInt > 1 {
print(x) // builtin function
}
Please see the examples folder for more