squint
squint copied to clipboard
Light-weight ClojureScript dialect
See https://github.com/borkdude/cherry/issues/53 Work in progress in `jsx-take-two` branch.
Currently the following fails: ```clojure (let [[foo bar] nil] foo) ``` This currently emits calls to `nth`, which tries to access the indices on the `null` value. I think we...
Symbols
Should Clojure symbols map to [Symbols](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol), some custom type, or strings like keywords?
Is this something we want to add? If we do want to add this then we should probably do this before we do pr/prn, right?
It would be nice to have automatic and consistent formatting for js code as we write it. https://prettier.io/
`(bit-shift-left 1 10)` could be parsed into `1
Currently, `(int a)` returns `int$(a)` - maybe we can generate `parseInt(a)`?
Repro: ``` (doseq [n (range 3)] (prn n)) ``` Calling `vec` on the range does work. /cc @mauricioszabo