From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: tomas@fabula.de Newsgroups: gmane.lisp.guile.devel Subject: Re: Adding stuff to the core distro (was Re: Infix syntax) Date: Sat, 19 Oct 2002 06:50:56 +0200 Sender: guile-devel-admin@gnu.org Message-ID: <20021019045056.GB22744@www> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035001998 4151 80.91.224.249 (19 Oct 2002 04:33:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 19 Oct 2002 04:33:18 +0000 (UTC) Cc: Neil Jerram , guile-devel@gnu.org Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 182lIa-00014h-00 for ; Sat, 19 Oct 2002 06:33:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 182lIj-0004Kf-00; Sat, 19 Oct 2002 00:33:25 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 182lII-0004Dy-00 for guile-devel@gnu.org; Sat, 19 Oct 2002 00:32:58 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 182lIG-0004Dh-00 for guile-devel@gnu.org; Sat, 19 Oct 2002 00:32:57 -0400 Original-Received: from www.elogos.de ([212.18.192.92]) by monty-python.gnu.org with esmtp (Exim 4.10) id 182lIF-0004Db-00 for guile-devel@gnu.org; Sat, 19 Oct 2002 00:32:55 -0400 Original-Received: by www.elogos.de (Postfix, from userid 5002) id 9CBB61049BA; Sat, 19 Oct 2002 06:50:56 +0200 (CEST) Original-To: Daniel Skarda <0rfelyus@ucw.cz> Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.24i Errors-To: guile-devel-admin@gnu.org X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.devel:1565 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:1565 On Wed, Oct 16, 2002 at 11:35:15PM +0200, Daniel Skarda wrote: > [Neil: macro instead of read-hash-extension] > Wow, that's clever. It seems I played with read hash extension too much that I > have not noticed simpler (and schemish) way... (On the other hand, #[] is shorter :-) Isn't Scheme surprising to us mortals ;-) [...] > No other tricky whitespace handling is performed (it would be dangerous, since > #\- and #\* are often used in scheme symbols). Albeit dangerous, I'd vote for having it (as an option, at least). It should just accept ``classical'' identifiers (C-like if you wish). Background: I'm playing with the idea of letting users enter formulas for a small application (users not aware of Scheme), and I think the ``classical'' syntax is easier to grasp for them. > infix.scm proposal, second edition: > ------------------------------------- [snip] Yes, makes sense to let the macro expander do the parse work. Maybe a first-stage tokenizer for the ``micro-syntax'' (this would be called a lexer in a more traditional framework?) could be thrown in as an option. Thanks -- tomas _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel