6 ms·
Manipulate Clojure source code like the DOM
- shurcooL 11y agoDoes jai have a meaning? It's also Jon Blow's programming language.
- zcaudate 11y agoNot really... I just wanted to write (use 'jai.query) as a reference to the more famous library
- goldfeld 11y agoOh! I had so much need of this, if only it were ClojureScript.
- loevborg 11y agoThis looks really great. On the topic of manipulating data structures in a funky way, see also specter (https://github.com/nathanmarz/specter https://github.com/nathanmarz/specter).
- boxed 11y agoOr instar: https://github.com/boxed/instar https://github.com/boxed/instar
- LukeHoersten 11y agoIn a programming language setting, this is usually called an AST (Abstract Syntax Tree), not a DOM. Though I see what you're getting at here with the AST query API. There are certainly parallels. (http://en.wikipedia.org/wiki/Abstract_syntax_tree http://en.wikipedia.org/wiki/Abstract_syntax_tree)