Skip to content

Clojure

Jason Charney edited this page Apr 4, 2016 · 1 revision

🚧 New Page!

Clojure (pronounced "KLOH-ZHUR") is a dialect of the Lisp programming language created by Rich Hickey that runs on the Java Virtual Machine (JVM).

Pre-requriements

Java.

Installation

$ cd ~/Software
$ mkdir clojure
$ cd clojure
$ curl -SLO http://repo1.maven.org/maven2/org/clojure/clojure/1.8.0/clojure-1.8.0.zip
$ unzip clojure-1.8.0.zip
$ mkdir clojure
$ mv clojure-1.8.0 clojure/
$ sudo clojure /opt/

Usage

TODO: Make a shell script to run this.

$ cd /opt/closure/clojure-1.8.0
$ java -cp clojure-1.8.0.jar clojure.main

To exit, Ctrl+C

Hello World

TODO: Add a Hello World example.

See Also

Links

Setup

  1. [Assemble the Hardware](Assemble the Hardware)
  2. [Install the Software](Install the Software)
  3. 🆙 [Setup your Raspberry Pi](Setup your Raspberry Pi)
  4. [Download the Missing Parts](Download the Missing Parts)

Typical Utilities

  • [Downloading and extracting with curl and tar](curl and tar)
  • [Browsing with ls and cat](ls and cat)
  • [Searching with grep and find](grep and find)
  • [Filtering with sed and awk](sed and awk)
  • [Piping with less, pv, and tee](less, pv, and tee)
  • Monitor your system with htop
  • Multiplex with tmux

Clone this wiki locally