From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Marius Vollmer Newsgroups: gmane.lisp.guile.user,gmane.lisp.guile.devel Subject: Re: Worrying development Date: Sun, 18 Jan 2004 22:05:23 +0100 Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Message-ID: <87vfn9ufvw.fsf@zagadka.ping.de> References: <1074246064.6729.23.camel@localhost> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1074460791 16889 80.91.224.253 (18 Jan 2004 21:19:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 18 Jan 2004 21:19:51 +0000 (UTC) Cc: guile-user@gnu.org, guile-devel@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sun Jan 18 22:19:45 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AiKKf-0003ps-00 for ; Sun, 18 Jan 2004 22:19:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AiKAA-0007IW-KQ for guile-user@m.gmane.org; Sun, 18 Jan 2004 16:08:54 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AiK8K-0005ir-Vm for guile-user@gnu.org; Sun, 18 Jan 2004 16:07:00 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AiK7X-0004m1-Ll for guile-user@gnu.org; Sun, 18 Jan 2004 16:06:44 -0500 Original-Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1AiK7W-0004dp-WE for guile-user@gnu.org; Sun, 18 Jan 2004 16:06:11 -0500 Original-Received: from [195.253.8.218] (helo=mail.dokom.net) by mx20.gnu.org with esmtp (Exim 4.24) id 1AiK6q-00048V-Uw for guile-user@gnu.org; Sun, 18 Jan 2004 16:05:29 -0500 Original-Received: from dialin.speedway15.dip247.dokom.de ([195.253.15.247] helo=zagadka.ping.de) by mail.dokom.net with smtp (Exim 3.36 #3) id 1AiK7a-00071s-00 for guile-user@gnu.org; Sun, 18 Jan 2004 22:06:14 +0100 Original-Received: (qmail 10235 invoked by uid 1000); 18 Jan 2004 21:05:23 -0000 Original-To: Roland Orre In-Reply-To: <1074246064.6729.23.camel@localhost> (Roland Orre's message of "Fri, 16 Jan 2004 10:41:05 +0100") User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.user:2638 gmane.lisp.guile.devel:3244 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:2638 Roland Orre writes: > I suggest that shared substrings are moved back to guile. Agreed. I'm sorry for previously giving the impression that shared substrings wont come back. There is no problem on the Scheme side of things: we can just add shared substrings and make it a proper subtype of 'string'. The problem lies with C code and there only with the low level API consisting of SCM_STRINGP, SCM_STRING_CHARS etc. Functions like scm_c_string2str can be updated to just continue to work. Shared substrings also touch on the issues of using Unicode in Guile and on making sure we have a nice type conversion API that can replace gh_ in all respects. I'd like to do it in this order: - type conversion API (which allows for different encodings of strings, but doesn't need it immediately) (the first part of this was the 'frame' stuff for handling unwinds in C). - Unicode (with shared substrings in mind). - shared substrings Of course, we shouldn't do too much lest 1.8 wont happen... I'll try to put forth a proposal in the next days for the string part of the type conversion API that allows Unicode and shared substrings. -- GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405 _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user