Ale is a Lisp Environment for Go applications
Make sure your GOPATH
is set, then run go install
to install the command line tool.
go install github.com/kode4food/ale/cmd/ale@latest
Once you've installed the package, you can run it from GOPATH/bin
like so:
ale somefile.ale
# or
cat somefile.ale | ale
## or
ale <<EOF
(let [ch (chan)]
(go (: ch :emit "Hello")
(: ch :emit "Ale!")
(: ch :close))
(apply println (ch :seq)))
EOF
Ale has a very crude Read-Eval-Print Loop that will be more than happy
to start if you invoke ale
with no arguments from your shell.
Still a work in progress. Use at your own risk.