Re: [Ecls-list] Upcoming

2013-07-03 Thread Matthew Mondor
On Tue, 2 Jul 2013 12:16:07 +0200 Juan Jose Garcia-Ripoll wrote: > * Declaration of C variables > > (let ((a (cos 1.0)) > (declare (:double a)) > ...) > > * Direct references to C variables > > (ffi:c-inline (a b) (:double :double) :void >"#0 = cos(#1)") > > * Embed imperative lisp in

Re: [Ecls-list] Building a CGI program

2013-07-03 Thread Matthew Mondor
On Wed, 03 Jul 2013 17:42:30 +0100 William Hounslow wrote: > On 01/07/2013 22:14, Juan Jose Garcia-Ripoll wrote: > > ECL is not capable of finding the files for its installation. Try > > setting ECLDIR environment variable manually to the system directory > > where things are stored (defaults /us

Re: [Ecls-list] Building a CGI program

2013-07-03 Thread William Hounslow
On 01/07/2013 22:14, Juan Jose Garcia-Ripoll wrote: > ECL is not capable of finding the files for its installation. Try > setting ECLDIR environment variable manually to the system directory > where things are stored (defaults /usr/local/lib/ecl-version-number/) > > Thanks for this. I specified a

Re: [Ecls-list] ECL to forge sounds in realtime

2013-07-03 Thread Tito Latini
Thank you for the detailed information. On Wed, Jul 03, 2013 at 04:31:03PM +0200, Juan Jose Garcia-Ripoll wrote: > You still can use inline C versions, but I would like to include C-A-S in > ECL as well -- the problem being that since I do not know which API would > be best (small but still usefu

Re: [Ecls-list] Upcoming

2013-07-03 Thread Juan Jose Garcia-Ripoll
On Tue, Jul 2, 2013 at 12:16 PM, Juan Jose Garcia-Ripoll < juanjose.garciarip...@gmail.com> wrote: > * Declaration of C variables > > (let ((a (cos 1.0)) > (declare (:double a)) > ...) > > * Direct references to C variables > > (ffi:c-inline (a b) (:double :double) :void >"#0 = cos(#1)") >

Re: [Ecls-list] Generic function invocation error with programmatically created methods.

2013-07-03 Thread Juan Jose Garcia-Ripoll
On Sat, Jun 29, 2013 at 2:02 PM, Mark Cox wrote: > Condition of type: SIMPLE-TYPE-ERROR > In function CAR, the value of the first argument is > # > which is not of the expected type LIST > The ECL MOP dispatch method uses some optimized form to store function arguments. The inliner for APPLY w

Re: [Ecls-list] ASDF monolithic library dependency.

2013-07-03 Thread Juan Jose Garcia-Ripoll
On Fri, Jun 28, 2013 at 10:17 AM, anri pan wrote: > Is there any way to incorporate asdf into the monolithic library, so the > resulting program wouldn't require ECL installation? > Not right now. It can be incorporated (and it will be incorporated by default) in DLL's though. But you need the m

Re: [Ecls-list] ECL to forge sounds in realtime

2013-07-03 Thread Juan Jose Garcia-Ripoll
Hi Tito, first of all thanks for your interest in the project. On Wed, Jul 3, 2013 at 10:56 AM, Tito Latini wrote: > I would appreciate any suggestions about portable COMPARE-AND-SWAP and > memory barrier facilities. In the past I used non-portable code > inlined in C. > You still can use inli

[Ecls-list] ECL to forge sounds in realtime

2013-07-03 Thread Tito Latini
Hi, I'm writing a music/dsp programming environment for Common Lisp called Incudine [1]. Currently it works only with SBCL but I'm interested in the possibility to use also ECL. The principal reason is to bypass the problems of the gc in SBCL with this type of applications. However, I cannot hide