Re:Ant ~ Lisp, Or, A Significantly Better Explanation of Lisp
by ecuzzillo on Monday May 17, 2010 @02:05AM
(#1353701)
I've been investigating how to program my new HTC Incredible lately, and have therefore finally had to interact nontrivially with Java.
And, since I instinctively refused to look at Eclipse, I've been learning about Ant, which turns out to be almost completely isomorphic to a not-extremely-well-thought-out set of Lisp macros to form a build system.
So, since XML syntax bugs me, I figured I'd write a thing that took a Lisp-syntax file and spit out an XML-syntax file, which led me to google for 'ant lisp,' which led me to this document.
Re:Ant ~ Lisp, Or, A Significantly Better Explanation of Lisp
by mahmud on Monday May 17, 2010 @11:32AM
(#1354561)
If you're a Common Lisper, you can whip it with cl-who or xml-emitter in an afternoon. I don't know about ant, but XML generation from Lisp macrology is trivial; the "hardest" part is deciding the Lispiest syntax for your tastes.
I like it how with macros, the biggest hurdle in creating a DSL is the actual syntax design, not the actual implementation.
Re:Ant ~ Lisp, Or, A Significantly Better Explanation of Lisp
by acg on Monday May 17, 2010 @08:14AM
(#1354108)
This pays too much homage to Ant in my opinion.
If you were to strip out the XML from Ant what is left is a poorly designed language which has little expressive power. Short of the surface structure of Ant is nothing like Lisp.
The Ant community couldn't even agree what sort of language it was. A hack pretending not be a hack.
And, since I instinctively refused to look at Eclipse, I've been learning about Ant, which turns out to be almost completely isomorphic to a not-extremely-well-thought-out set of Lisp macros to form a build system.
So, since XML syntax bugs me, I figured I'd write a thing that took a Lisp-syntax file and spit out an XML-syntax file, which led me to google for 'ant lisp,' which led me to this document.
http://news.ycombinator.com/item?id=127736
http://news.ycombinator.com/item?id=1319034 [Posted 12 days ago]
Cf. http://zegoggl.es/2009/12/building-android-apps-in-scala-wit... http://blog.recursivity.com/post/470846055/simple-build-tool...
I like it how with macros, the biggest hurdle in creating a DSL is the actual syntax design, not the actual implementation.
If you want to use Ant and XML syntax bugs you - google for Lancet.
If you were to strip out the XML from Ant what is left is a poorly designed language which has little expressive power. Short of the surface structure of Ant is nothing like Lisp.
The Ant community couldn't even agree what sort of language it was. A hack pretending not be a hack.