Immediate/Compile Time Execution for
Kevin
nnoydb at excite.com
Sat Feb 21 13:15:52 EST 2004
So, when tha apply button is invoked the routines/interpreter that builds the "tokens" has no parse directives? Are there no #if style constructs? I guess some documentation on specifically how the compile/tokenization process occurs would be helpful. Is the metacard/transcript compiler using the TIL concept of words? Doese metacard/transcript have a header segment or dicrionary that is accessible? So each of the words/handlers have a IMMEDIATE bit or identifier? I understand these are rather "under the hood" questions I just fiqure that they would be in the documentation.
Kevin
--- On Sat 02/21, Dar Scott < dsc at swcp.com > wrote:
From: Dar Scott [mailto: dsc at swcp.com]
To: nnoydb at excite.com, use-revolution at lists.runrev.com
Date: Sat, 21 Feb 2004 10:29:31 -0700
Subject: Re: Immediate/Compile Time Execution for
<br>On Saturday, February 21, 2004, at 09:41 AM, Kevin wrote:<br><br>> Honestly, there is no "compile time" I am refering to as the script is <br>> being parsed. Basically I am looking fo a set of parse directives. <br>> It seems that there must be a API from inside Revolution to load and <br>> parse a module. I mean it does so already from distrubition builder. <br>> I just want to add "directives" look initially in a specific <br>> directory for library code or the path specified.<br><br>The documentation uses the word compile. This takes place when a <br>script is set and between loading of a stack and the use of a script.<br><br>Here are a couple of approaches.<br><br>The script is a property; you can set it yourself. There are <br>limitations for standalones. You can make your own editor. When you <br>hit the apply button, the editor can look for includes and expand them. <br> Then it can set the script property. You would use a custom property <br>for your unexpanded source.<br><br>Or you can work out a scheme using the more traditional stack library <br>or button "library" (front/back script).<br><br>Dar Scott<br><br>
_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
More information about the use-livecode
mailing list