Simplest way to try these, without having to install anything:
- Clojure(Script) http://clojurescript.net/
- Ruby https://replit.com/languages/ruby
Or to try these on your machine
- Clojure via Babashka https://babashka.org/
- download the latest release
- put
bb
command on your$PATH
e.g.export PATH=
/where/babashka/executable/bb` - start REPL
rlwrap bb --repl
and paste in the lines
- once you have the
ruby
executable you should also haveirb
(interactive Ruby) which is a Ruby REPL - run
irb
and paste in the code