Get flash to fully experience Pearltrees
For a spartan yet still productive set-up to rapidly get you going, I recommend for now just using a text editor and a terminal window or two. Details below. If you’d like to use GNU Emacs, see my 10-minute Emacs + Clojure guide , or else the Clojure with Emacs guide at CDS .
Many Lisp beginners find quoting to be a foreign concept. My own confusions around quote and friends began with my first ventures into Scheme, and continue today with the occasional crazy Clojure macro. So I'd like to take some time to look deeper into quoting, one of the most Lispy of the Lisp features.
There’s a certain type of person who, upon seeing a new language, feels compelled to write a game with it. Functional languages represent a unique challenge in this respect, as has been written about at some length elsewhere . Clojure adds an interesting wrinkle to this problem, in the form of its Java interop. If a game consists of a thin layer of Clojure wrapped around a full-featured Java game engine , is it actually “written in Clojure”? Without getting bogged down in semantics, I suggest that a Clojure application (such as the game discussed in this post) is something that can be easily extended using Clojure’s data structures and concurrency primitives.
26 Feb 2012 edit: there is now a downloadable jar: https://github.com/ibdknox/live-cljs/downloads After seeing Bret Victor's talk, Inventing on Principle , the other night, I was curious how hard it would be to build some of things he demoed - so I put together a live ClojureScript game editor today. Here's a video of it in action: It basically replicates what was in his demo (minus the Braid graphics). The one thing I didn't implement was rolling forward and back with a slider, since I thought the projection was far more useful.
This article introduces Clojure's web application stack. The heart of this stack is Ring : an interface for conforming libraries, a set of adapters for various HTTP servers, and middleware and utilities. This article aims to help you navigate the increasingly broad range of libraries and choose some solid libraries and get an app moving with Ring. You will need have at least a basic understand of Clojure (1.2.0), Leiningen and HTTP/Web development to get the most out of this article. All code in this article is using Clojure 1.2 and Ring 0.3.7. Architecture Overview
read read or learn more Send More Paramedics λ λ λ Fogus' Thoughts on life, programming , and thinking ❤ c clj factor frink hs js org pure rb rkt qi ❤
clojure.edn by Rich Hickey Detailed API documentation edn reading. Contents: read read-string
by R. Mark Volkmann , Partner Object Computing, Inc. (OCI) last updated on 9/29/12 Contents
Jetty provides an HTTP server, HTTP client, and javax.servlet container. These components are open source and available for commercial use and distribution. Jetty is used in a wide variety of projects and products.
Now, I won’t spend time moaning about the current state of namespaces (see this Clojure mailing list discussion and the design discussion around namespaces in the Clojure Confluence ), but I thought it might be helpful to give an overview of the various calls you can make to require a Clojure lib . Let’s start a Clojure repl , where we’ll outline the baseline commands to pull in libs. If you don’t know how, download Clojure and use these instructions to get a REPL up and running.
A concise syntax for generating Ring handlers. macro (ANY path args & body) Generate a route that matches any method.