Clojure

Clojure [ kləʊʒə (r ) ] is a modern Lisp dialect, which supports interactive development. The language encourages a functional style, the concurrent programming much easier. Clojure runs on the Java Virtual Machine and is closely integrated with the Java runtime. A JavaScript implementation called ClojureScript and a CLR implementation also exist. The macro system is similar to the other LISP environments.

Examples

Full Hi- world programs:

( println "Hello World !") graphically using the Java Swing library ( javax.swing.JOptionPane / showMessageDialog nil "Hello World !") libraries

As a dialect of Lisp code that principle plays an important role as a data or Homoikonizität. Specifically, it can benefit Clojure by as libraries provides properties that are tightly integrated with other programming languages ​​. Examples are called pattern matching and a type system.

IDE support

  • Light Table is an interactive IDE with Clojure support: Light Table
  • IntelliJ IDEA provides a plugin here: La Clojure
  • For Eclipse, there are Counterclockwise
  • ClojureCLR extension for Visual Studio: vsClojure
  • For the Emacs Clojure mode and nREPL are available.
  • For Vim there VimClojure.
194227
de