2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Wisp : An Introduction

Last updated at Posted at 2015-07-23

Wisp is an homoiconic JavaScript Dialect with Clojure syntax, compiled down to pure JavaScript, with a self-hosting compiler.

Which basically means you can do this with Jquery loaded:


(.click ($ document) 
  (fn [] (alert "hello")))

and not get yourself in flames for not obeying some Java god because it compiles down to this:

$(document).click(function () {
    return alert('hello');
});

The idea is in using Clojure for the modernised syntax, but reusing as much as possible what Javascript already has. Wisp does not use Clojure's immutable data structures, among other things, so that it can be compiled down to javascript with minimal effort.

The next chapter will be quick start on using Wisp.

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?