I am currently using "start using" and "insert the script of" syntax and evaluating 
the pros and cons of each.  However, my question is one of larger scope I would like 
to be able to extend the language/standard library itself.  With many other languages 
there exists a facilities to extend the language.  Via classes in the case of C++, 
objects in the case of Java and Small-talk, and WORDS in the case of FORTH.  I have 
even built objects  in FORTH (similar to MOPS).  It is my hope that we as developers 
can further the language and it's success.  With such constructs this would be simple 
and allow a amazing flexibility.


Kevin


 --- On Sat 02/21, Ken Ray < [EMAIL PROTECTED] > wrote:
From: Ken Ray [mailto: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Sat, 21 Feb 2004 14:43:01 -0600
Subject: RE: Immediate/Compile Time Execution for 

> Honestly, there is no "compile time" I am refering to as the <br>&gt; script is 
> being parsed.  Basically I am looking fo a set of  <br>&gt; parse directives.  It 
> seems that there must be a API from <br>&gt; inside Revolution to load and parse a 
> module.   I mean it <br>&gt; does so already from distrubition builder.  I just want 
> to <br>&gt; add &quot;directives&quot; look initially in a specific directory for 
> <br>&gt; library code or the path specified.<br><br>If you're talking about #parse 
> or #include directives, with the<br>intention of creating an include file that 
> contains a chunk of code that<br>is #included in a number of different scripts, Rev 
> does things a little<br>differently.<br><br>Let's say you had a set of transcript 
> routines called myFunc1() and<br>myFunc2() that you want to be able to call from 
> anywhere. If I'm reading<br>you correctly, it sounds like you'd want to put 
> myFunc(1) and myFunc2()<br>into a exparate source file and #include them when you 
> needed to
  get<br>access to them. If I'm right, this is done differently in Transcript.<br>You 
put those functions into the stack script of a stack and you<br>&quot;include&quot; 
that code by using the &quot;library&quot; (or &quot;start using&quot;) 
command.<br>This inserts the code into the message passing hierarchy so that 
these<br>functions can be called from anywhere.<br><br>If I'm on the right track and 
you need more assistance in getting this<br>done, let me know. If I'm not on the right 
track, please try to explain<br>in detail what it is you're trying to do - I apologize 
for not &quot;getting<br>it&quot;.<br><br>Ken Ray<br>Sons of Thunder 
Software<br>Email: [EMAIL PROTECTED]<br>Web Site: http://www.sonsothunder.com/ 
<br><br><br>

_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to