[Ecls-list] Upcoming

Juan Jose Garcia-Ripoll juanjose.garciaripoll at gmail.com
Tue Jul 2 10:16:07 UTC 2013


Apart from boring bug tracking, what keeps me busy these days.

* Cleanup of generators for c code

* 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 C (syntax not yet decided)

(let ((a 0))
   (declare (:int a))
   (ffi:c-progn (a) ; one or more variables
     "for (#0 = 1; #0 < 10; #0++) {"
     (print a)
     "}"))

(Thanks to Pascal Costanza for the idea)

-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20130702/94295243/attachment.html>


More information about the ecl-devel mailing list