-
Notifications
You must be signed in to change notification settings - Fork 176
Description
Hello π
Thanks for Framework, it's been a pleasure to adopt β¨ and I'm planning to keep working with it.
I've been toying with adding Squint as an accepted language (ClojureScript transpiled to JS). My experiment's branch is here, the change is rather light; but it's also roughed in at this point, with some cut corners.
It would be pretty neat if one was able to mix-and-match JS and CLJS in Framework, like
```cljs echo
(defn squint [x]
(> (:frequency x) 0.06))
```
```js echo
Plot.rectY(alphabet, {
x: "letter",
y: "frequency",
fill: squint,
}).plot()
```
Now, I don't expect Framework to support Squint (although it would be pretty cool). What would be nice, however, would be to open the tags up to customization of some sort. Squint would just be a first example, I could imagine other cool projects getting unlocked by this π
I'd be happy to contribute, but I'd need guidance on how to cleanly allow such extensibility in JS.
What do you think?