[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] need idea for read-syntax

From: Felix Winkelmann
Subject: Re: [Chicken-users] need idea for read-syntax
Date: Thu, 20 Nov 2003 07:48:12 +0100
User-agent: Opera7.21/Win32 M2 build 3218

Am Thu, 20 Nov 2003 06:24:34 +0000 hat Category 5 <address@hidden> geschrieben:

Felix Winkelmann <address@hidden> writes:

How about this:

    statement sequence:  #{ ... }#
    typed value:         #{[c-string] var}#

Yes, that's going to be it, I guess. But I'm also tending to leave it
out entirely...

Yeah, I think we're starting to strain the cramped bounds of ASCII a
bit.  Hmmn.  My current feeling is that #{ ... }# is a good idea for
statements but that the typed case should be left out.  I think I'd be
happier just seeing a (define-foreign-variable ...) and a decent naming
convention in that case.

That's basically, what `foreign-code' does (it's in the current CVS HEAD):

(foreign-code " ... ")
(foreign-code "var" c-string)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]