guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[announce] GEE/Infix version 0.4b0


From: Marco Maggi
Subject: [announce] GEE/Infix version 0.4b0
Date: Sat, 8 Dec 2007 21:15:28 +0100

GEE/Infix version 0.4b0 is available.

<http://gna.org/projects/gee>

This version is tested with Guile 1.8.3.

GEE/Infix is  a C language library extension  for Guile, the
GNU's  Ubiquitous Intelligent  Language for  Extensions.  It
implements  an infix->prefix  notation converter  for Scheme
code.   It  is  derived   from  Guile-Arith,  by  Ian  Grant
<iang/pobox.com>.

You can  use GEE/Infix  under the terms  of the  GNU General
Public  License version  2, or  (at your  option)  any later
version.

At present the conversion does no optimisations.  Examples:

(infix->prefix "fun(1+a, sin(2), 3*g, 4+a+f+r+t)")
;; -> (fun (+ 1 a) (sin 2) (* 3 g) (+ (+ (+ (+ 4 a) f) r) t))

(infix->prefix "cos(a) * (tan(b) / c)")
;; -> (* (cos a) (/ (tan b) c))

SRFI-10 is used to implement a read syntax:

(let ((x 8.8)
      (y 9.9))
  #,(infix x^2 + y^3 -1))

is equivalent to:

(- (+ (expt 8.8 2) (expt 9.9 3)) 1)


Another extension of the language, I think.


  <DT><B><A HREF="http://gna.org/projects/gee";>GEE/Infix</A></B>
  <DD><TABLE>
  <TR><TD><I>description</I></TD>
  <TD>Infix to prefix conversion.</TD></TR>
  <TR><TD><I>license</I></TD>
  <TD>GNU General Public License version 2, or (at your
      option) any later version.</TD></TR>
  <TR><TD><I>requires</I></TD>
  <TD>Guile 1.8</TD></TR>
  </TABLE><P>

--
Marco Maggi

"Now feel the funk blast!"
Rage Against the Machine - "Calm like a bomb"






reply via email to

[Prev in Thread] Current Thread [Next in Thread]