From: "Marco Maggi" <marco.maggi-ipsu@poste.it>
To: "guile-user" <guile-user@gnu.org>
Subject: [announce] GEE/Infix version 0.4b0
Date: Sat, 8 Dec 2007 21:15:28 +0100 [thread overview]
Message-ID: <JSQYXS$BBC79C98747DB1EC0BF3FE49C5984B8E@poste.it> (raw)
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"
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
reply other threads:[~2007-12-08 20:15 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='JSQYXS$BBC79C98747DB1EC0BF3FE49C5984B8E@poste.it' \
--to=marco.maggi-ipsu@poste.it \
--cc=guile-user@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).