I think sockets are a good alternative. Althought they seem quite implementation dependent.
I'll try to code something simple, and if I succed I'll post it here. Of course if anyone else already have something like this feel free to post
Search found 11 matches
- Sat Sep 11, 2010 10:26 am
- Forum: Common Lisp
- Topic: Use running lisp as script interpreter
- Replies: 4
- Views: 4406
- Sat Sep 11, 2010 6:04 am
- Forum: Common Lisp
- Topic: Use running lisp as script interpreter
- Replies: 4
- Views: 4406
Re: Use running lisp as script interpreter
Thanks Duke, Although something like that would work, I was thinking in something more generic. Just executing my lisp scripts in a terminal as ./script.lisp. where script.lisp would be something like #!/usr/bin/env lispconnect (defun ...()...) and lispconnect would be in charge of connecting to a r...
- Sat Sep 11, 2010 5:04 am
- Forum: Common Lisp
- Topic: Use running lisp as script interpreter
- Replies: 4
- Views: 4406
Use running lisp as script interpreter
As I use stumpwm (a common-lisp window manager), I normally always have a lisp process running. So I was wandering if there is a way I can use that instance to evaluate "scripts"? What I want to do is to write small lisp scripts and instead of executing them in their own separate instaces,...
- Tue Aug 25, 2009 2:19 am
- Forum: Common Lisp
- Topic: Maxima as a library
- Replies: 8
- Views: 12678
Re: Maxima as a library
I have looked into the maxima's mailing list. In fact, if I remember well, the solution I post at the OP was given by Robert Dodier. As the question was already in the list with no "satisfactory" answer, I thought in trying in a new place :) I think the solution is given in http://d.hatena...
- Mon Aug 24, 2009 5:25 am
- Forum: Common Lisp
- Topic: Maxima as a library
- Replies: 8
- Views: 12678
Re: Maxima as a library
ext:saveinitmem is a clisp function. You can not load clisp images with sbcl. ups, you are right, I put a bad example. This should work instead: :lisp (sb-ext:save-lisp-and-die "session.mem") Can you give me a hint on how to load the code of maxima into lisp? @smithzv ty for your answer, ...
- Sun Aug 23, 2009 5:36 pm
- Forum: Common Lisp
- Topic: Maxima as a library
- Replies: 8
- Views: 12678
Maxima as a library
I am starting a new project where I will need some algebraic manipulation of equations, so I would like to use some maxima functions. I know from inside maxima I can access the underlying lisp interpreter, but as the project is in lisp I would like to call maxima functions from lisp, and not to call...
- Wed Mar 11, 2009 10:26 am
- Forum: Common Lisp
- Topic: help with the heap
- Replies: 6
- Views: 9344
Re: help with the heap
Uhm... I do not know. I think that with SBCL the GSL callings are made without copying the memory block, so I think It must be just the Lisp's one. But I am not sure. The actual error I get is: * Heap exhausted during allocation: 76496896 bytes available, 100446392 requested. With no further refere...
- Wed Mar 11, 2009 7:48 am
- Forum: Common Lisp
- Topic: help with the heap
- Replies: 6
- Views: 9344
Re: help with the heap
Uhm... I do not know. I think that with SBCL the GSL callings are made without copying the memory block, so I think It must be just the Lisp's one. But I am not sure. The actual error I get is: * Heap exhausted during allocation: 76496896 bytes available, 100446392 requested. With no further referen...
- Wed Mar 11, 2009 6:10 am
- Forum: Common Lisp
- Topic: help with the heap
- Replies: 6
- Views: 9344
help with the heap
Hi again, I have been using GSL (Gnu Scientific Library) inside lisp (GSLL) to do some mathematical calculations, and so far has been a real charm! But now I am trying to make some serious stuff and I need to invert matrices of about 1500x1500 elements. At this point when I try to do the (make-marra...
- Fri Mar 06, 2009 1:59 am
- Forum: Common Lisp
- Topic: pushing links, not elements
- Replies: 15
- Views: 28557
Re: pushing links, not elements
Thank you for your replys, I am sorry for the confusion, I know that I am getting what I am suppose, my question was if there is a way to handle something like pointers in C, which is normally done using * and &. I guess you achieve that by a correct use of car's and cdr's. Because as nuntilus (...