The Hack programming language
$ dep ensure
Start REPL shell
$ go run cmd/main.go
number
-> 1
1
bool
-> true
true
-> false
false
string
-> `hello world`
`hello world`
list
-> [1, 2, 3]
[1, 2, 3]
map
-> {a: 1, b: 2}
{a: 1, b: 2}
function
-> i => { print(i) }
<function>
See example for more examples.
$ go run cmd/main.go example/hello_world.hack
$ go run cmd/main.go --format example/hello_world.hack