Janet, a Clojure inspired language for scripting, or embedding in other programs (github.com) 5 points by Scarbutt 7y ago ↗ HN
[–] asimjalis 7y ago ↗ Interesting language.Some observations.1. Great startup time. Hello world took 0.015 seconds.2. To get readline on REPL use: rlwrap ./janet -s3. (os.exit) did not exit the REPL, but (os/exit) did. Looks like doc bug in GitHub README.md.4. Syntax of for is different from Clojure and not as general. Instead of (for [x (range 10)] (print x) use (for x 1 10 (print x)).5. Core API docs are at https://janet-lang.org/doc.html. Useful reference. Examples with each one (e.g. for) would be great.
1 comment
[ 3.7 ms ] story [ 22.3 ms ] threadSome observations.
1. Great startup time. Hello world took 0.015 seconds.
2. To get readline on REPL use: rlwrap ./janet -s
3. (os.exit) did not exit the REPL, but (os/exit) did. Looks like doc bug in GitHub README.md.
4. Syntax of for is different from Clojure and not as general. Instead of (for [x (range 10)] (print x) use (for x 1 10 (print x)).
5. Core API docs are at https://janet-lang.org/doc.html. Useful reference. Examples with each one (e.g. for) would be great.