I hereby claim:
- I am kanaka on github.
- I am kanaka (https://keybase.io/kanaka) on keybase.
- I have a public key whose fingerprint is 22BE 1AE2 9383 B209 02E0 F78E 6DA5 BEDC D0BD 70B8
To claim this, I am signing this object:
| --- src/clj/cljs/analyzer.clj 2012-11-17 01:01:55.712323358 -0500 | |
| +++ src/cljs/cljs/analyzer.cljs 2012-11-17 11:51:47.030558150 -0500 | |
| @@ -6,14 +6,23 @@ | |
| ; the terms of this license. | |
| ; You must not remove this notice, or any other, from this software. | |
| -(set! *warn-on-reflection* true) | |
| +;; (set! *warn-on-reflection* true) | |
| (ns cljs.analyzer |
| --- /dev/null 2012-11-27 16:05:14.650362981 -0600 | |
| +++ src/cljs/cljs/analyzer_macros.clj 2012-11-17 13:40:55.563213013 -0600 | |
| @@ -0,0 +1,4 @@ | |
| +(ns cljs.analyzer-macros) | |
| + | |
| +(defmacro disallowing-recur [& body] | |
| + `(binding [cljs.analyzer/*recur-frames* (cons nil cljs.analyzer/*recur-frames*)] ~@body)) | |
| --- /dev/null 2012-11-27 16:05:14.650362981 -0600 | |
| +++ src/cljs/cljs/compiler_macros.clj 2012-11-17 13:40:55.563213013 -0600 | |
| @@ -0,0 +1,8 @@ |
| --- /dev/null 2012-11-30 09:18:52.404117001 -0600 | |
| +++ src/cljs/cljs/analyzer_macros.clj 2012-12-08 11:13:03.441968192 -0600 | |
| @@ -0,0 +1,4 @@ | |
| +(ns cljs.analyzer-macros) | |
| + | |
| +(defmacro disallowing-recur [& body] | |
| + `(binding [cljs.analyzer/*recur-frames* (cons nil cljs.analyzer/*recur-frames*)] ~@body)) | |
| --- /dev/null 2012-11-30 09:18:52.404117001 -0600 | |
| +++ src/cljs/cljs/compiler_macros.clj 2012-11-17 13:40:55.000000000 -0600 | |
| @@ -0,0 +1,8 @@ |
| (ns cljs.core-test) | |
| (defn test-stuff [] | |
| (println "Starting tests") | |
| ;; js primitives | |
| (let [keys #(vec (js-keys %))] | |
| (assert (= [] (keys (js-obj)) (keys (apply js-obj [])))) | |
| (assert (= ["x"] (keys (js-obj "x" "y")) (keys (apply js-obj ["x" "y"]))))) |
| diff --git a/include/chrome-app/launcher.js b/include/chrome-app/launcher.js | |
| new file mode 100644 | |
| index 0000000..7a5f585 | |
| --- /dev/null | |
| +++ b/include/chrome-app/launcher.js | |
| @@ -0,0 +1,11 @@ | |
| +console.log(">> launcher.js"); | |
| + | |
| +chrome.app.runtime.onLaunched.addListener(function() { | |
| + chrome.app.window.create('vnc.html', { |
| #!/bin/bash | |
| wholefile=$(cat $1) | |
| filelen=${#wholefile} | |
| idx=0 | |
| chunk=0 | |
| chunksz=500 | |
| while true; do | |
| if (( ${#str} < ( chunksz / 2) )) && (( chunk < filelen )); then |
| // Functional-style integer lists | |
| // Compile with "rustc -o intlistRc intlistRc.rs" | |
| use std::rc::Rc; | |
| enum IntList { | |
| Empty, | |
| Cons(int, Rc<IntList>), | |
| List(~Vector<Rc<IntList>>) | |
| } |
I hereby claim:
To claim this, I am signing this object:
| $ ./regPack.js input.js --crushGainFactor 2 --crushLengthFactor 1 --crushCopiesFactor 0 > output.js | |
| stats: 1851B to 1015B (-836B, -45.16%) |
| # Step-by-step distilled from: https://github.com/swannodette/cljs-bootstrap | |
| git clone https://github.com/clojure/clojurescript | |
| git clone https://github.com/swannodette/cljs-bootstrap | |
| #git clone https://github.com/clojure/tools.reader | |
| git clone https://github.com/swannodette/tools.reader | |
| cd clojurescript/ | |
| ./script/build |