Manipulate Clojure source code like the DOMgithub.com/zcaudate 61 pointsglittershark11 years ago6 commentsSaveHideCopy link On HNComments−LukeHoersten11yIn 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)−loevborg11yThis looks really great. On the topic of manipulating data structures in a funky way, see also specter (https://github.com/nathanmarz/specter).−boxed11yOr instar: https://github.com/boxed/instar−shurcooL11yDoes jai have a meaning? It's also Jon Blow's programming language.−zcaudate11yNot really... I just wanted to write (use 'jai.query) as a reference to the more famous library−goldfeld11yOh! I had so much need of this, if only it were ClojureScript.
Comments
In 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)
This looks really great. On the topic of manipulating data structures in a funky way, see also specter (https://github.com/nathanmarz/specter).
Or instar: https://github.com/boxed/instar
Does jai have a meaning? It's also Jon Blow's programming language.
Not really... I just wanted to write (use 'jai.query) as a reference to the more famous library
Oh! I had so much need of this, if only it were ClojureScript.