[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] need idea for read-syntax
From: |
Category 5 |
Subject: |
Re: [Chicken-users] need idea for read-syntax |
Date: |
Wed, 19 Nov 2003 19:12:53 +0000 |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (berkeley-unix) |
felix <address@hidden> writes:
> Personally, I don't care much wether it's #{ ... }# or #[ ... ]#. The
> problem with the former is that it would some changes to the compiler
> (which uses it extensibly for another hackish purpose), and that would
> cause a bootstrapping problem (not serious, though). The problem with
> the latter is that the association with embedded C code seems a bit
> far-fetched.
Like #> ... <#? =)
I don't think there are many syntaxes for embedding foreign code that
wouldn't seem a bit far-fetched because it's, well, foreign. {} is
about the only one that happens to win there.
> Another option would of course be to drop it entirely and use
> `foreign-code'.
How about this:
statement sequence: #{ ... }#
typed value: #{[c-string] var}#
> Absolutely. I use [] quite a lot as a replacement for normal parens,
> especially when nesting gets deep:
>
> (let-values ([(x y z) ...])
> ...)
>
> appears to be more readable (for me) than
>
> (let-values (((x y z) ...))
> ...)
I agree, but I also think that let-values is a worst-case example.
--
- Re: [Chicken-users] need idea for read-syntax, (continued)
- Re: [Chicken-users] need idea for read-syntax, Category 5, 2003/11/15
- Re: [Chicken-users] need idea for read-syntax, felix, 2003/11/15
- Re: [Chicken-users] need idea for read-syntax, Peter Wang, 2003/11/15
- Re: [Chicken-users] need idea for read-syntax, Felix Winkelmann, 2003/11/17
- Re: [Chicken-users] need idea for read-syntax, Peter Keller, 2003/11/17
- Re: [Chicken-users] need idea for read-syntax, Felix Winkelmann, 2003/11/17
- Re: [Chicken-users] need idea for read-syntax, Peter Wang, 2003/11/17
- Re: [Chicken-users] need idea for read-syntax, Category 5, 2003/11/16
Re: [Chicken-users] need idea for read-syntax, Category 5, 2003/11/18
- Re: [Chicken-users] need idea for read-syntax, felix, 2003/11/19
- Re: [Chicken-users] need idea for read-syntax,
Category 5 <=
- Re: [Chicken-users] need idea for read-syntax, Felix Winkelmann, 2003/11/20
- Re: [Chicken-users] need idea for read-syntax, Category 5, 2003/11/20
- Re: [Chicken-users] need idea for read-syntax, Felix Winkelmann, 2003/11/20
- Re: [Chicken-users] need idea for read-syntax, Category 5, 2003/11/20
- Re: [Chicken-users] need idea for read-syntax, Felix Winkelmann, 2003/11/20
- Re: [Chicken-users] need idea for read-syntax, Category 5, 2003/11/20