[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Adding stuff to the core distro (was Re: Infix syntax)
From: |
tomas |
Subject: |
Re: Adding stuff to the core distro (was Re: Infix syntax) |
Date: |
Sat, 19 Oct 2002 06:50:56 +0200 |
User-agent: |
Mutt/1.3.24i |
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
- Re: Adding stuff to the core distro (was Re: Infix syntax), (continued)
- Re: Adding stuff to the core distro (was Re: Infix syntax), Bill Gribble, 2002/10/10
- Re: Adding stuff to the core distro (was Re: Infix syntax), Daniel Skarda, 2002/10/19
- Re: Adding stuff to the core distro (was Re: Infix syntax), Neil Jerram, 2002/10/13
- Re: Adding stuff to the core distro (was Re: Infix syntax), Daniel Skarda, 2002/10/18
- Re: Adding stuff to the core distro (was Re: Infix syntax), Neil Jerram, 2002/10/19
- Re: Adding stuff to the core distro (was Re: Infix syntax), Daniel Skarda, 2002/10/10
- Re: Adding stuff to the core distro (was Re: Infix syntax), Neil Jerram, 2002/10/13
- Re: Adding stuff to the core distro (was Re: Infix syntax), Daniel Skarda, 2002/10/18
- Re: Adding stuff to the core distro (was Re: Infix syntax),
tomas <=
- Re: Adding stuff to the core distro (was Re: Infix syntax), Daniel Skarda, 2002/10/20
- Re: Adding stuff to the core distro (was Re: Infix syntax), tomas, 2002/10/21
- Re: Adding stuff to the core distro (was Re: Infix syntax), Neil Jerram, 2002/10/21
- Re: Adding stuff to the core distro (was Re: Infix syntax), Christopher Cramer, 2002/10/19
- Re: Adding stuff to the core distro (was Re: Infix syntax), Daniel Skarda, 2002/10/20