Re: [genius-list] [ALMOST PATCHES] for oddities in the lex'r code.

From: George <jirka_at_5z.com>
Date: Tue, 15 Jun 1999 02:25:45 -0700

On Mon, Jun 14, 1999 at 09:57:22AM -0500, Squeak wrote:
[load command ranting snipped:) ]

well, the thing is, you can already load multiple files by

load x.gel y.gel z.gel blah.gel

There are reasons why there is no eval or load function in gel itself,
if you notice, the load command is not evaluated inside the gel engine as it
has quite a different semantics, it's more like a preprocessor command in C.

There will probably be other commands like it which affect more of the state
of the calculator program rather then the engine. The reasons are usually
that the engine is not quite reentrant and can evaluate only one expression
at once. (well it could evaluate multiple, but with only one context stack,
because of the zero time token lookup thingie),

there will also be a load function of some sort in the future, and an eval
function as well.

George
Received on Tue Jun 15 1999 - 02:04:16 CDT

This archive was generated by hypermail 2.2.0 : Sun Apr 17 2011 - 21:00:02 CDT