From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Gran Newsgroups: gmane.lisp.guile.devel Subject: Syntax for symbols is more permissive than R6RS Date: Fri, 24 Apr 2009 00:27:44 -0700 Message-ID: <1240558064.3133.147.camel@localhost.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1240561694 30776 80.91.229.12 (24 Apr 2009 08:28:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 Apr 2009 08:28:14 +0000 (UTC) To: Guile Devel Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Apr 24 10:29:33 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 1LxGmp-0002wA-Hw for guile-devel@m.gmane.org; Fri, 24 Apr 2009 10:29:31 +0200 Original-Received: from localhost ([127.0.0.1]:55128 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LxGlQ-00054b-8e for guile-devel@m.gmane.org; Fri, 24 Apr 2009 04:28:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LxGlB-00051P-S9 for guile-devel@gnu.org; Fri, 24 Apr 2009 04:27:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LxGlA-000509-6P for guile-devel@gnu.org; Fri, 24 Apr 2009 04:27:49 -0400 Original-Received: from [199.232.76.173] (port=33535 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LxGl9-000502-9w for guile-devel@gnu.org; Fri, 24 Apr 2009 04:27:47 -0400 Original-Received: from smtp104.prem.mail.sp1.yahoo.com ([98.136.44.59]:45585) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LxGl8-00050Y-Sh for guile-devel@gnu.org; Fri, 24 Apr 2009 04:27:47 -0400 Original-Received: (qmail 80749 invoked from network); 24 Apr 2009 07:27:44 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Subject:From:To:Content-Type:Date:Message-Id:Mime-Version:X-Mailer:Content-Transfer-Encoding; b=xcsYrDReBjlgMatSeFGM7tgt3z0X0l8Sz1tmw5HvFX7HbLn99TyxKgzHn6HPieKjGceGcCFLWyY8mPU8Cmw6cuHVbMIccNQvE4J4BOM+ZYr/V24UEwADlyXUmzcDsFIjDj43GyEYf03mH/YjsJ9Tfp0DYbFR+TW6ICgIud/+F6I= ; Original-Received: from unknown (HELO ?192.168.1.64?) (spk121@71.143.114.144 with plain) by smtp104.prem.mail.sp1.yahoo.com with SMTP; 24 Apr 2009 07:27:43 -0000 X-YMail-OSG: OC2G2jcVM1l1zPUe535C33tL3oGjqpJcI0oRKJqw0RQ5J3JjDbYTD9J4epCH8p7dp3m6DSJP57Ma33sIAQKxgrfecqnrz_WqftnWc5gSHqpY7bMJ66nhLxhOT_KGW9bVk0tegPwZWpgREJadSlaq.t0OvZGReG8.GXEmzm8ZW0KHiYg3.pGwybbfiKOKpeVKmQegK2StsZsMbeG0amY7m2_4H1CViru6wL1Ac5lBW2s.G1AOP1ZPj4o4r.JwOgxkew.75aQZL7jVHA1olu.CgT0tH62KchnGsFB4U6ahcdJn3BZ5fGo- X-Yahoo-Newman-Property: ymail-3 X-Mailer: Evolution 2.24.5 (2.24.5-1.fc10) X-detected-operating-system: by monty-python.gnu.org: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) 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:8463 Archived-At: Hi, I was poking around the reader while working on the Unicode stuff, and I found that there aren't checks for a lot of symbol names that R6RS considers to be invalid. The following line has 11 dodgy but not invalid variable names: + - ... 00A @ [ \ ] { | } They can be strung together to make fun code like this: (define - 1) (define [ 2) (define ] 3) (+ 1 [ - 2 3 ]) ==> 12 Which of these are useful extensions and which of these are bugs? Thanks, Mike Gran