-
-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
version 3.2.0\n fix simple compilation\n fast loading of namespaces
- Loading branch information
Showing
15 changed files
with
261 additions
and
133 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head lang="en"> | ||
<meta charset="UTF-8"> | ||
<title>KLIPSE: a simple and elegant online cljs compiler and evaluator</title> | ||
<link rel='shortcut icon' type='image/x-icon' href='img/klipse.png' /> | ||
<link rel="stylesheet" type="text/css" href="css/codemirror.css"> | ||
</head> | ||
<body> | ||
<pre><code class="clojure"> | ||
(map inc [1 2 3]) | ||
</code></pre> | ||
|
||
<pre><code class="clojure"> | ||
(ns my.test | ||
(:require | ||
[cljs.pprint :as pp :refer [pprint]])) | ||
(with-out-str (pprint (for [x (range 10)] (range x)))) | ||
</code></pre> | ||
<pre><code class="clojure" data-external-libs="https://raw.githubusercontent.com/viebel/math.combinatorics/master/src/main/clojure"> | ||
(ns my.combinatorics | ||
(:require [clojure.math.combinatorics :refer [permutations]])) | ||
|
||
(permutations [1 2 3]) | ||
</code></pre> | ||
|
||
|
||
<pre><code class="clojure" data-gist-id="viebel/820f672dd176169fd831c7748e6f3cd3" data-external-libs="https://raw.githubusercontent.com/mfikes/andare/master/src/main/clojure/"> | ||
</code></pre> | ||
<pre><code class="clojure" data-external-libs="https://raw.githubusercontent.com/clojure/test.check/ebcc57dd631e25ee39bc059899e3bbd9ddf24ee9/src/main/clojure"> | ||
(ns my.test (:require [clojure.test.check :as tc] | ||
[clojure.test.check.generators :as gen] | ||
[clojure.test.check.properties :as prop :include-macros true])) | ||
(def sort-idempotent-prop | ||
(prop/for-all [v (gen/vector gen/int)] | ||
(= (sort v) (sort (sort v))))) | ||
|
||
(tc/quick-check 100 sort-idempotent-prop) | ||
|
||
</code></pre> | ||
<pre><code class="clojure"> | ||
(ns my.spec | ||
(:require [clojure.spec :as s])) | ||
|
||
(s/def ::a integer?) | ||
(s/conform ::a 12) | ||
</code></pre> | ||
<pre><code class="clojure"> | ||
(ns my.cljs | ||
(:require [cljs.js :as cljs :refer [eval-str]])) | ||
|
||
(eval-str (cljs.js/empty-state) "(+ 1 2)" 'cljs.me {:eval cljs.js/js-eval} identity) | ||
|
||
|
||
</code></pre> | ||
|
||
<pre><code class="clojure"> | ||
(ns my.walk | ||
(:require [clojure.walk :refer [postwalk]])) | ||
(postwalk identity {:a 1}) | ||
</code></pre> | ||
|
||
<pre><code class="clojure"> | ||
(ns my.ns | ||
(:require [clojure.string :as string :refer [lower-case]])) | ||
(lower-case "AbsCs") | ||
</code></pre> | ||
|
||
<script> | ||
window.klipse_settings = { | ||
codemirror_options_in: { | ||
lineWrapping: true, | ||
lineNumbers: true, | ||
autoCloseBrackets: true | ||
}, | ||
codemirror_options_out: { | ||
lineWrapping: true | ||
}, | ||
selector: '.clojure' | ||
}; | ||
</script> | ||
<script src="lib/mirror_extensions.js"></script> | ||
<script src="fig/js/klipse.fig.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head lang="en"> | ||
<meta charset="UTF-8"> | ||
<title>KLIPSE: a simple and elegant online cljs compiler and evaluator</title> | ||
<link rel='shortcut icon' type='image/x-icon' href='img/klipse.png' /> | ||
<link rel="stylesheet" type="text/css" href="css/codemirror.css"> | ||
</head> | ||
<body> | ||
<pre><code class="clojure"> | ||
(map inc [1 2 3]) | ||
</code></pre> | ||
|
||
<pre><code class="clojure"> | ||
(ns my.test | ||
(:require | ||
[cljs.pprint :as pp :refer [pprint]])) | ||
(with-out-str (pprint (for [x (range 10)] (range x)))) | ||
</code></pre> | ||
<pre><code class="clojure" data-external-libs="https://raw.githubusercontent.com/viebel/math.combinatorics/master/src/main/clojure"> | ||
(ns my.combinatorics | ||
(:require [clojure.math.combinatorics :refer [permutations]])) | ||
|
||
(permutations [1 2 3]) | ||
</code></pre> | ||
|
||
|
||
<pre><code class="clojure" data-gist-id="viebel/820f672dd176169fd831c7748e6f3cd3" data-external-libs="https://raw.githubusercontent.com/mfikes/andare/master/src/main/clojure/"> | ||
</code></pre> | ||
<pre><code class="clojure" data-external-libs="https://raw.githubusercontent.com/clojure/test.check/ebcc57dd631e25ee39bc059899e3bbd9ddf24ee9/src/main/clojure"> | ||
(ns my.test (:require [clojure.test.check :as tc] | ||
[clojure.test.check.generators :as gen] | ||
[clojure.test.check.properties :as prop :include-macros true])) | ||
(def sort-idempotent-prop | ||
(prop/for-all [v (gen/vector gen/int)] | ||
(= (sort v) (sort (sort v))))) | ||
|
||
(tc/quick-check 100 sort-idempotent-prop) | ||
|
||
</code></pre> | ||
<pre><code class="clojure"> | ||
(ns my.spec | ||
(:require [clojure.spec :as s])) | ||
|
||
(s/def ::a integer?) | ||
(s/conform ::a 12) | ||
</code></pre> | ||
<pre><code class="clojure"> | ||
(ns my.cljs | ||
(:require [cljs.js :as cljs :refer [eval-str]])) | ||
|
||
(eval-str (cljs.js/empty-state) "(+ 1 2)" 'cljs.me {:eval cljs.js/js-eval} identity) | ||
|
||
|
||
</code></pre> | ||
|
||
<pre><code class="clojure"> | ||
(ns my.walk | ||
(:require [clojure.walk :refer [postwalk]])) | ||
(postwalk identity {:a 1}) | ||
</code></pre> | ||
|
||
<pre><code class="clojure"> | ||
(ns my.ns | ||
(:require [clojure.string :as string :refer [lower-case]])) | ||
(lower-case "AbsCs") | ||
</code></pre> | ||
|
||
<script> | ||
window.klipse_settings = { | ||
codemirror_options_in: { | ||
lineWrapping: true, | ||
lineNumbers: true, | ||
autoCloseBrackets: true | ||
}, | ||
codemirror_options_out: { | ||
lineWrapping: true | ||
}, | ||
selector: '.clojure' | ||
}; | ||
</script> | ||
<script src="plugin/js/klipse_plugin.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.