ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: suggestion : Ant 1.8 full dist to include a 'scripting lang'
Date Wed, 13 Sep 2006 05:53:59 GMT
On Wed, 13 Sep 2006, Kevin Jackson <foamdino@gmail.com> wrote:
> On 9/13/06, Stefan Bodewig <bodewig@apache.org> wrote:
>> On Tue, 12 Sep 2006, Matt Benson <gudnabrsam@yahoo.com> wrote:

>> (project :name "Ant" :default "echo"
>>   (target :name "echo"
>>     (echo :message "Hello World")))
>>
>> Tasks would be functions or macros.
> 
> Anyone interested in a CLISP version of Ant?

You'd be surprised how much less lines of code you'd need when
compared to the Java version, really.

I toyed with the idea when I first read Peter Seibel's "Practical
Common Lisp (online here[1], but it's well worth of buying) and even
managed to get something like the above snippet working, actually more
like

(defparameter *project*
  (project :name "Ant" :default "echo"
    (target :name "echo"
      (echo :message "Hello World"))))
(run-targets *project*)

Will the new BSF release support any Lisp dialect?

Stefan

Footnotes: 
[1]  http://www.gigamonkeys.com/book/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message