start using & External symbol table PLEASE!!!
Rob Cozens
rcozens at pon.net
Tue Feb 24 08:53:13 EST 2004
>Has anyone attempted to create a external symbol table?
Only in my head, Kevin.
The model I use as a starting point is the HyperCard utility,
CompileIt!, written by Tom Pittman. It was designed as a symbol
table for compiling HC externals.
CompileIt! shipped with predefined symbols for most Mac OS 9 ToolBox
calls and unique parameter & record structure field names.
It also included a window where one can define one's own symbols.
One enters the symbol name and type, eg:
Constant
ROM global variable
Record field
External command or function
Text callback
Binary callback
Raw inline code
Other info is entered depending on the symbol type, eg: value for
constants, variable type & offset for record fields.
Somewhere I have CompileIt! specs for the "glue" required to define
system calls; but I was never able to fully understand it or define
any undefined system call that supported call backs.
And, of course, a symbol table stack is worthless unless & until the
Run Rev team educates the Script Editor/compiler to recognize & use
it.
--
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