This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Re: how smart is compilation?
From: "Per Bothner" <per@bothner.com>
> Since I don't know what "that" refers to, I have no idea what you
> mean. All I know if that '&' is a reserved character in HTML and XML,
> which conflicts with your proposed usage.
Sorry, I should have been clearer. My '&' usage is copying the syntax of
javascript entities. Javascript entities were supported by netscape
(don't know if they still are) and looked like this:
&{ some_javascript_statement; }
the value of the expressions forming the statement was inserted into the
text of the document. It was quite a neat way of including JS, better
than using document.writeln() anyway.
> Well, you wouldn't have to learn a lot, and none of the hard parts.
> Just enough to plug in a new parser. You don't even need to
> sub-class the Scheme class, if you're willing to kludge things
> a bit (so it uses your modified reader).
Hmmm... I'm going to hack up the eval based one but I will look at doing
things the way you suggest.
Nic