This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Suggestion for strings.c


Per Bothner <per@bothner.com> writes:

> > here is what Per is talking about (well, I assume so).  it needs *no*
> > C-level support at all.
> 
> Yeah, I guess so.  However, Kawa also has:
>         (define-alias NAME LVALUE)
> which makes `NAME' equivalent to `(TMP)', where:
>         (define TMP (location LVALUE))
> 
> I think that may be difficult to do without C-level support.
> But this is a further extension, not part of the SRFI-17.

if I understand you right, your "alias" is a identifier macro.  there
is at least one portable Scheme macro system that supports identifier
macros (syntax-case).

> 	--Per Bothner

--mike

-- 
You shouldn't anthropomorphize computers; they don't like it.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]