From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: Re: Unicode-capable srfi-14 charsets (f49dbcadf...) Date: Thu, 27 Aug 2009 23:23:56 +0200 Message-ID: References: <1251386430.17414.11.camel@localhost.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1251408764 16547 80.91.229.12 (27 Aug 2009 21:32:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Aug 2009 21:32:44 +0000 (UTC) Cc: Guile Devel To: Mike Gran Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Aug 27 23:32:37 2009 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MgmaC-0001K9-1P for guile-devel@m.gmane.org; Thu, 27 Aug 2009 23:32:36 +0200 Original-Received: from localhost ([127.0.0.1]:59919 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MgmaB-0002Wf-E2 for guile-devel@m.gmane.org; Thu, 27 Aug 2009 17:32:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mgma8-0002WO-Fy for guile-devel@gnu.org; Thu, 27 Aug 2009 17:32:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mgma5-0002VL-OR for guile-devel@gnu.org; Thu, 27 Aug 2009 17:32:31 -0400 Original-Received: from [199.232.76.173] (port=45139 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mgma5-0002VG-Kf for guile-devel@gnu.org; Thu, 27 Aug 2009 17:32:29 -0400 Original-Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:57172 helo=sasl.smtp.pobox.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mgma4-0004QA-Q6 for guile-devel@gnu.org; Thu, 27 Aug 2009 17:32:29 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id AB20E39A6F; Thu, 27 Aug 2009 17:32:27 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=zMIkaXfS27QCG8P2nDwLjPYBcXY=; b=gttWA9 /ebSqUnyTMU6er+XOyeXqGEtfHBpaO561tsfPaAfJtn/QxhkUIGqce4OcrfM0MBh wMT+eqk9Q7MIfyPb6s4A2nNq8uTF6MHZaBj6yFRViA0NdZJJsXGwTwlfuAUH4rd7 VOf5va3QLhCDedn8n2iddbA8u3suBG6+sCGkg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=R6+tmoth6ZAWOKPu2+9gsfCrye+bJIkW DPolbNbRoJxpp2cvGNeamTq7mT9cFfPXJuhsxMmJnoaVBCBxSmJJy+r9O9i6j//u Ck2ej0x1QyuaZjHNoEqMNsWO+2ZItxEhuu4meNy45Z9OeYg7MUX6VBk6b1VB5RXG oFBste2szTw= Original-Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 9A8F439A6E; Thu, 27 Aug 2009 17:32:26 -0400 (EDT) Original-Received: from unquote (unknown [83.37.98.58]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id C07C739A6D; Thu, 27 Aug 2009 17:32:24 -0400 (EDT) In-Reply-To: <1251386430.17414.11.camel@localhost.localdomain> (Mike Gran's message of "Thu, 27 Aug 2009 08:20:30 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) X-Pobox-Relay-ID: 1D98B07A-9351-11DE-BA23-8B19076EA04E-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:9186 Archived-At: On Thu 27 Aug 2009 17:20, Mike Gran writes: > I pushed the commit for Unicode-capable srfi-14. Of all parts necessary > for Unicode, this patch has the largest amount of new code and is most > likely to cause compilation problems. On Linux, this now works fine for me; make succeeds, one test fails for me (utf8 r6rs ports). On Mac 10.5, I get an exception running the test suite, which actually stops the test suite: bad argument to setlocale. I don't recall which file that was in. Apologies for the imprecision, that machine is at work. > Since the default charsets such as char-set:lower-case are much larger > in the Unicode scenario, I had to change both the underlying > structures that hold them as well as the print format. I also had to > pregenerate them, since it was too slow to create them at startup. So > this is also the part of this project where I've taken the greatest > liberties. Looks good to me. Ideally over time these will migrate to being implemented in Scheme. For now, please make that static table const, so it can be shared between processes, and avoid some relocations at link time. Cheers, Andy -- http://wingolog.org/