Immediate/Compile Time Execution for

Rob Cozens rcozens at pon.net
Sat Feb 21 22:09:21 EST 2004


>I would like to be able to extend the language/standard library itself.

Kevin,

As others have noted, there is considerable discussion of this 
subject in the List archives.

The solution I have proposed, and would be interested in hearing your 
reaction to, is support for an external symbol table stack that would 
be referenced by the Script Editor when compiling.

Using the symbol table, a developer could:

1. Declare constants globally instead of inside every script that 
references them

2. Explicitly type variables, including pointers & handles

3. Define record structure field names, assigning variable type & offset

4. Define system call names, including # of arguments & "system glue" 
(eg: register assignment) info

The compiler would check the symbol table stack(s) [if present] when 
resolving symbols.
-- 

Rob Cozens
CCW, Serendipity Software Company
http://www.oenolog.net/who.htm

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)


More information about the use-livecode mailing list