chicken-users
[Top][All Lists]
Advanced

[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 09:32:37 +0100
User-agent: Opera7.21/Win32 M2 build 3218

Am Thu, 20 Nov 2003 08:00:44 +0000 hat Category 5 <address@hidden> geschrieben:

Felix Winkelmann <address@hidden> writes:

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

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

Okay.  I think the thing that puzzles me a bit is that I see variable
references as different beasts than (sequences of) instructions.  The
first means 'this thing' and the second means 'do this'.  It seems a
little confusing to use the same form for both purposes.

Admittedly, that's true. How about two different forms:

(foreign-code " ... ")
(foreign-expression " ... " TYPE)

?


On a slightly different topic, is there a lexically-scoped version of
define-foreign-variable (like there is for define-location)?


No. Good point.


cheers,
felix




reply via email to

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