Re: maintaining non-Lisp systems with ASDF

2015-09-24 Thread Robert Goldman
On 9/23/15 Sep 23 -3:55 PM, Robert Dodier wrote: > Hey everybody, > > I've made some more progress with a Maxima extension for ASDF > (attached). At this point it works pretty much as expected, for the > simple examples I've tried. I think you should be able to use in > Maxima like this:

Re: maintaining non-Lisp systems with ASDF

2015-09-24 Thread Robert P. Goldman
That's what :defsystem-depends-on is for. Please let me know if you don't find it adequately documented in the manual... Sent from my iPad > On Sep 24, 2015, at 19:41, Robert Dodier wrote: > >> On Wed, Sep 23, 2015 at 2:39 PM, Faré wrote: >> >>

Re: maintaining non-Lisp systems with ASDF

2015-09-24 Thread Robert Dodier
On Wed, Sep 23, 2015 at 2:39 PM, Faré wrote: > What you really need to do is: Thanks, I will take a look at that. It is working well enough for the moment, but I will circle back later to polish it up. I have a question now about how to ensure that the :maxima-file component

Re: maintaining non-Lisp systems with ASDF

2015-09-23 Thread Faré
Dear Robert, > I've made some more progress with a Maxima extension for ASDF > (attached). This looks much more like it. Congrats! > At this point the only thing I wish I could change (and this is a > minor item) is that output file paths are something like > $HOME/.cache/common-lisp/. >

Re: maintaining non-Lisp systems with ASDF

2015-09-23 Thread Robert Dodier
Hey everybody, I've made some more progress with a Maxima extension for ASDF (attached). At this point it works pretty much as expected, for the simple examples I've tried. I think you should be able to use in Maxima like this: load("maxima_asdf.lisp"); asdf_load("foo"); to load foo.asd, which

Re: maintaining non-Lisp systems with ASDF

2015-09-21 Thread Faré
On Mon, Sep 21, 2015 at 7:15 PM, Robert Dodier wrote: > Thanks a lot to everybody for the advice. I think I've made some > progress. I've attached a patch showing the initial changes I've > made, and with this much I can load a trivial system into Maxima. > Do NOT patch

Re: maintaining non-Lisp systems with ASDF

2015-09-21 Thread Robert Dodier
Thanks a lot to everybody for the advice. I think I've made some progress. I've attached a patch showing the initial changes I've made, and with this much I can load a trivial system into Maxima. I'm working with asdf.lisp 2.26 which is packaged with Quicklisp, since the larger goal is to use

Re: maintaining non-Lisp systems with ASDF

2015-09-21 Thread Robert Goldman
On 9/21/15 Sep 21 -6:15 PM, Robert Dodier wrote: > Thanks a lot to everybody for the advice. I think I've made some > progress. I've attached a patch showing the initial changes I've > made, and with this much I can load a trivial system into Maxima. > > I'm working with asdf.lisp 2.26 which is

maintaining non-Lisp systems with ASDF

2015-09-17 Thread Robert Dodier
Hi, I am exploring the possibility of using ASDF to define systems of non-Lisp code, specifically for Maxima (http://maxima.sourceforge.net). Maxima is written in Lisp but has its own language. I'd like to be able to load programs written in Maxima's language and/or Lisp. It seems like ASDF

Re: maintaining non-Lisp systems with ASDF

2015-09-17 Thread Robert Brown
Take a look at https://github.com/brown/protobuf/blob/master/protobuf.asd and the other ".asd" files in that project. The file above modifies ASDF so that it can compile and load Google's protocol buffer definition files. It may be more complicated than you need because ".proto" files are

Re: maintaining non-Lisp systems with ASDF

2015-09-17 Thread Robert Goldman
On 9/17/15 Sep 17 -12:57 PM, Robert Dodier wrote: > Hi, I am exploring the possibility of using ASDF to define systems of > non-Lisp code, specifically for Maxima (http://maxima.sourceforge.net). > Maxima is written in Lisp but has its own language. I'd like to > be able to load programs written

Re: maintaining non-Lisp systems with ASDF

2015-09-17 Thread Faré
This section of the manual, and the surrounding chapter, may help: https://common-lisp.net/project/asdf/asdf/Creating-new-operations.html#Creating-new-operations You basically need to define a new component :maxima-file, :maxima, or whatever the name. If it produces a Lisp file that then gets