unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Julian Graham <joolean@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guile-devel@gnu.org
Subject: Re: Merging R6RS libraries?
Date: Sat, 10 Apr 2010 23:50:38 -0400	[thread overview]
Message-ID: <v2z2bc5f8211004102050lfc5e534do4812399d62132d8c@mail.gmail.com> (raw)
In-Reply-To: <p2q2bc5f8211003291606h82628212iad0cf895bd306905@mail.gmail.com>

Hi Ludo,

I've got some status updates:


> As I said, there aren't that many libraries left to do.  Off the top
> of my head, the still-missing ones are (rnrs eval), (rnrs arithmetic
> fixnums), (rnrs arithmetic flonums), and the composite library, (rnrs
> rnrs).  I also want to move the library form definitions out of
> boot-9, as you suggested.

The above are done and pushed.

At the moment, though, there are some broken bits related to the
arithmetic libraries -- specifically, all of the procedures related to
R6RS `div' and `mod'.  They just weren't fully enough specified to
implement: R6RS-lib says they "implement number-theoretic integer
division" [0].  (The main R6RS spec says even less.)  I peeked at
PLT's implementation, which uses, I think, a stanard
"number-theoretic" division algorithm and tweaks it to match the
examples in R6RS-lib.  We could poach theirs or write our own, but I'm
not enough of a mathematician to know what the Right Thing to do here
is.


> Hmmm.  None that are so serious that they're currently blocking me --
> I've been developing and testing the libraries using the
> library/module integration, so I'm quite sensitive to problems when
> they arise.  :-)  At the moment, the only thing that's bugging me is
> an issue with tests that use syntax exported from libraries fail when
> run via 'make check' but pass when loaded from the REPL.

This also seems to be happening with plain old `make'.  I've been
trying to figure out what's different between running:

$ ./meta/uninstalled-env guile-tools compile module/6/rnrs.scm

...and executing

scheme@(guile-user)> (compile-file "module/6/rnrs.scm")

...from inside an instance of ./meta/guile (which works), but so far
I've come up empty.  This is pretty much the only thing I'd like to
fix before telling Andy to pull the merge trigger.  Any ideas?


Regards,
Julian


[0] - http://www.r6rs.org/final/html/r6rs-lib/r6rs-lib-Z-H-1.html#node_toc_node_sec_11.2




  reply	other threads:[~2010-04-11  3:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-29 21:27 Merging R6RS libraries? Ludovic Courtès
2010-03-29 23:06 ` Julian Graham
2010-04-11  3:50   ` Julian Graham [this message]
2010-04-11 21:49     ` Andy Wingo
2010-05-21  2:04       ` Julian Graham
2010-05-22 13:51         ` Ludovic Courtès
2010-03-30 17:59 ` Mike Gran
2010-03-30 21:53   ` Ludovic Courtès

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=v2z2bc5f8211004102050lfc5e534do4812399d62132d8c@mail.gmail.com \
    --to=joolean@gmail.com \
    --cc=guile-devel@gnu.org \
    --cc=ludo@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).