[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] need idea for read-syntax
From: |
Felix Winkelmann |
Subject: |
[Chicken-users] need idea for read-syntax |
Date: |
Fri, 14 Nov 2003 12:51:21 +0100 |
User-agent: |
Opera7.21/Win32 M2 build 3218 |
Hi, all!
I would like to add a read-syntax for embedding C code into expressions
(as opposed to embedding it into the program itself, like "#> ... <#").
It must be possible to specify C code, with an optional type specification.
So far I have just come up with something like:
#>"doSomeInitStuff();" ; embed statement (no type given)
(print #>"my_version_string" : c-string) ; embed expression (type
given)
The #>" isn't particularly nice, since it overloads the #> syntax once
again.
Some form of delimiter (like #[ ... ]) perhaps? I don't know.
#{ ... } is already used, #" ... " looks to generic, #/ ... / is probably
better for future regexes.
Any ideas are welcome.
cheers,
felix
- [Chicken-users] need idea for read-syntax,
Felix Winkelmann <=
- 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