Janet: A Practical, Embeddable Lisp

News

  • New Steel Bank Common Lisp (SBCL) release:

    https://www.sbcl.org/news.htmlj

  • Next week (really?): New System Crafters video on workflows for managing many tasks with Org agenda bulk actions!

Let’s Look at Janet!

https://janet-lang.org/

The code we worked on near the end:

(def get-command-grammar
  '{:target (<- (some (range "az")))
    :get "get "
    :main (* :get :target)})

(defn process-command []
  (def input (file/read stdin :line))
  (print "The command was: " input)
  (pp (peg/match get-command-grammar input))

  # Recursive loop!
  (process-command))

(defn main
  [& args]
  (process-command))
Subscribe to the System Crafters Newsletter!
Stay up to date with the latest System Crafters news and updates! Read the Newsletter page for more information.
Name (optional)
Email Address