From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.devel Subject: Re: TODO list for Guile R7RS support Date: Fri, 10 Feb 2012 16:53:44 +0100 Message-ID: <87k43uhegn.fsf@gnu.org> References: <87vcngvbif.fsf@netris.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1328889255 10385 80.91.229.3 (10 Feb 2012 15:54:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 10 Feb 2012 15:54:15 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Feb 10 16:54:15 2012 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rvsnd-0004D8-0A for guile-devel@m.gmane.org; Fri, 10 Feb 2012 16:54:13 +0100 Original-Received: from localhost ([::1]:53411 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rvsnc-00041s-J0 for guile-devel@m.gmane.org; Fri, 10 Feb 2012 10:54:12 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:59917) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvsnU-00041S-2u for guile-devel@gnu.org; Fri, 10 Feb 2012 10:54:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RvsnO-0005wS-7L for guile-devel@gnu.org; Fri, 10 Feb 2012 10:54:03 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:35622) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvsnN-0005wL-S0 for guile-devel@gnu.org; Fri, 10 Feb 2012 10:53:58 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1RvsnM-00041D-6c for guile-devel@gnu.org; Fri, 10 Feb 2012 16:53:56 +0100 Original-Received: from 193.50.110.167 ([193.50.110.167]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 10 Feb 2012 16:53:56 +0100 Original-Received: from ludo by 193.50.110.167 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 10 Feb 2012 16:53:56 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 45 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 193.50.110.167 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 22 =?iso-8859-1?Q?Pluvi=F4se?= an 220 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.93 (gnu/linux) Cancel-Lock: sha1:xlNlPDC3iS6cSb7oTgCQbvr3dXA= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:13837 Archived-At: Hello, Mark H Weaver skribis: > * bytevectors in core R7RS What does it mean? That bindings are available by default? [...] > * bytevector-copy! with 3 args > * bytevector-copy-partial{,!} [...] > * R7RS binary ports and bytevector ports > * {textual-binary}-port? > * binary-port? > * open-binary-{input,output}-file > * open-{input,output}-bytevector > * get-output-bytevector > * {read,peek,write}-u8, u8-ready? > * read-bytevector{,!} > * write-bytevector > * write-partial-bytevector Seems to be that, following R6RS’ lead, R7RS decided to come up with new APIs that are close to, but slightly from, existing APIs. :-/ [...] > * R7RS feature identifiers: r7rs, exact-closed, ratios, exact-complex, > ieee-float, full-unicode, windows, posix, unix, darwin, linux, bsd, > freebsd, solaris, i386, x86-64, ppc, sparc, jvm, clr, llvm, ilp32, > lp64, ilp64, big-endian, little-endian, guile, guile-2, guile-2.0 I wonder how these are specified. Does a *-kfreebsd-gnu build have ‘freebsd’? And ‘bsd’? Do *-gnu* have ‘linux’ defined, even when Linux isn’t used? Does Cygwin have ‘unix’? And above all: are people going to write #ifdef __linux__ish code when what they mean is #ifdef __GLIBC__ or even something different? Thanks, Ludo’.