[Aldor-l] execute

W Naylor wn at cs.bath.ac.uk
Thu Sep 7 07:54:48 EDT 2006


On Thu, 7 Sep 2006, Christian Aistleitner wrote:

> Hello Helmut,
> 
> On Thu, 07 Sep 2006 11:12:25 +0200, Preininger <d.i.preininger at tele2.at>  
> wrote:
> 
> > how can i execute, from an aldor programm, an external program for  
> > example the aldor compiler?
> 

This is probably only an answer to a related question :-! But I know that 
you can compile lisp files from aldor programs using libaxiom (inside 
Axiom). By going:

    import {COMPILE_-FILE_-QUIETLY : String -> ()} from Foreign(Lisp);
    COMPILE_-FILE_-QUIETLY <file_name.lsp>

more details of this can be found in my thesis:

http://www.cs.bath.ac.uk/~wn/thesis.ps.gz

section 4.5

and the code at:

http://www.cs.bath.ac.uk/~wn/prog.tar.gz

specificaly the file compslpaux.as

hope this is of help?

cheers,

Bill

P.S. my contact as to what functions I should use for this compilation 
(inside aldor), was Peter Broadbery, though I'm not sure if he follows 
this list.

> I do not know of a direct way to do this, but you might use execve (and  
> its variants) from C. Just import them from Foreign C and then they are  
> available.
> 
> --
> Kind regards,
> Christian
> _______________________________________________
> Aldor-l mailing list
> Aldor-l at aldor.org
> http://www.aldor.org/mailman/listinfo/aldor-l
> 
> 
> 

-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
-
-                  Dr. W.A. Naylor
-
-                  http://www.cs.bath.ac.uk/~wn
-                  http://orcca.on.ca/~bill
-
-                  work tel: +44 1225 386183
-
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*




More information about the Aldor-l mailing list