Skip to content

Instantly share code, notes, and snippets.

@philipbjorge
Created March 6, 2013 03:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save philipbjorge/5096457 to your computer and use it in GitHub Desktop.
Save philipbjorge/5096457 to your computer and use it in GitHub Desktop.
Tiny testcase for clj.js
var parse = Clojure.parse;
console.log(parse("nil", {}));
console.log(parse("true", {}));
console.log(parse("hello world", {}));
console.log(parse("\C", {}));
console.log(parse('{:first "Fred" :last "Mertz"}', {}));
console.log(parse('(1 2 3 4)', {}));
console.log(parse('[1 2 "three" 4]', {}));
console.log(parse('#{1 2 3 1 2 3}', {}));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment