1999Q2/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev] Properties of computer languages -->
<!--X-From-R13: Oqnz Ivttvaf <nqnzNnatry.pbz> -->
<!--X-Date: Sat, 19 Jun 1999 11:00:26 &#45;0700 -->
<!--X-Message-Id: Pine.SGI.3.96.990618115239.19823B&#45;100000#zazu,angel.com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: ed0b7327.249b6ad8#aol,com -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev] Properties of computer languages</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:adam#angel,com">
</head>
<body background="/backgrounds/paperback.gif" bgcolor="#ffffff"
      text="#000000" link="#0000FF" alink="#FF0000" vlink="#006000">

  <font size="+4" color="#804040">
    <strong><em>MUD-Dev<br>mailing list archive</em></strong>
  </font>
      
<br>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->

Date:&nbsp;
[&nbsp;<a href="msg00860.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00862.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00859.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00823.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00861">Author</A>
&nbsp;|&nbsp;<A HREF="#00861">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00861">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev] Properties of computer languages</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Subject</em>: Re: [MUD-Dev] Properties of computer languages</LI>
<LI><em>From</em>: Adam Wiggins &lt;<A HREF="mailto:adam#angel,com">adam#angel,com</A>&gt;</LI>
<LI><em>Date</em>: Fri, 18 Jun 1999 12:21:59 -0700 (PDT)</LI>
<LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Sender</em>: <A HREF="mailto:mud-dev-admin#kanga,nu">mud-dev-admin#kanga,nu</A></LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
On Fri, 18 Jun 1999 David95037#aol,com wrote:
&gt; If you want inefficient, definitely do not tokenize the macros, re-parse
&gt; the text each time.  Maybe keep them in a giant string.  When a loop is
&gt; being executed, to find that start of the loop, search the string from the
&gt; beginning.

You jest, but this is exactly the way that the Revenant scripting engine
works.  (I coded most of it in a single week, so I didn't have a lot of
time for fancyness.)

Actually, everything is line-oriented (which saves you from using ;'s,
and it also makes it easier to scan backwards to loop starts and things,
because I can save line numbers to make it easier).

Funny enough, someone wrote a document about how to use it not too long
ago.  It appears to be accurate (and I guess they haven't changed much
since I left):

<A  HREF="http://revenantqs.telefragged.com/scripting/GameScript.html">http://revenantqs.telefragged.com/scripting/GameScript.html</A>

The only thing special about it, I think, is the way that triggers and
priorities work.  In that respect it's not structured much like a "normal"
programming language, because it's event-based, and those events are
interruptable by other, higher-priority events.

Also, some of the commands have a slightly funny syntax, reflecting
the fact that you can type them at the console the same way you would
use them in a script.  Here's a shot of the editor window:

<A  HREF="http://www.cinematix.com/images/editor.jpg">http://www.cinematix.com/images/editor.jpg</A>


Adam W.





_______________________________________________
MUD-Dev maillist  -  MUD-Dev#kanga,nu
<A  HREF="http://www.kanga.nu/lists/listinfo/mud-dev">http://www.kanga.nu/lists/listinfo/mud-dev</A>


</PRE>

<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00851" HREF="msg00851.html">Re: [MUD-Dev] Properties of computer languages</A></STRONG>
<UL><LI><EM>From:</EM> David95037#aol,com</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00860.html">Re: [MUD-Dev] i got's a question for yall on the best way to  dosomething..</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00862.html">[MUD-Dev] A little off topic - anyone receiving multiple copies of list mail?</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00859.html">Re: [MUD-Dev] Properties of computer languages</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00823.html">[MUD-Dev] UM2</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00861"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00861"><STRONG>Thread</STRONG></A></LI>
</UL>
</LI>
</UL>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
<ul><li>Thread context:
<BLOCKQUOTE><UL>
<LI><STRONG>Re: [MUD-Dev] Properties of computer languages</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<LI><strong><A NAME="00843" HREF="msg00843.html">Re: [MUD-Dev] Properties of computer languages</A></strong>, 
Travis S. Casey <a href="mailto:efindel#io,com">efindel#io,com</a>, Thu 17 Jun 1999, 22:44 GMT
</LI>
</ul>
<LI><strong><A NAME="00848" HREF="msg00848.html">Re: [MUD-Dev] Properties of computer languages</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Fri 18 Jun 1999, 01:40 GMT
</LI>
<LI><strong><A NAME="00851" HREF="msg00851.html">Re: [MUD-Dev] Properties of computer languages</A></strong>, 
David95037 <a href="mailto:David95037#aol,com">David95037#aol,com</a>, Fri 18 Jun 1999, 14:19 GMT
<UL>
<LI><strong><A NAME="00859" HREF="msg00859.html">Re: [MUD-Dev] Properties of computer languages</A></strong>, 
Caliban Tiresias Darklock <a href="mailto:caliban#darklock,com">caliban#darklock,com</a>, Sat 19 Jun 1999, 03:16 GMT
</LI>
<LI><strong><A NAME="00861" HREF="msg00861.html">Re: [MUD-Dev] Properties of computer languages</A></strong>, 
Adam Wiggins <a href="mailto:adam#angel,com">adam#angel,com</a>, Sat 19 Jun 1999, 18:00 GMT
</LI>
</UL>
</LI>
</ul>
</LI>
<LI><strong><A NAME="00823" HREF="msg00823.html">[MUD-Dev] UM2</A></strong>, 
Greg Munt <a href="mailto:greg#uni-corn,demon.co.uk">greg#uni-corn,demon.co.uk</a>, Wed 16 Jun 1999, 04:31 GMT
<LI><strong><A NAME="00822" HREF="msg00822.html">[MUD-Dev] Fwd: Books on Compilers</A></strong>, 
Caliban Tiresias Darklock <a href="mailto:caliban#darklock,com">caliban#darklock,com</a>, Tue 15 Jun 1999, 21:38 GMT
<LI><strong><A NAME="00818" HREF="msg00818.html">[MUD-Dev] ADMIN: NoMail Subscriptions -- please reconfigure</A></strong>, 
J C Lawrence <a href="mailto:claw#varesearch,com">claw#varesearch,com</a>, Tue 15 Jun 1999, 03:20 GMT
<LI><strong><A NAME="00816" HREF="msg00816.html">[MUD-Dev] speed problems update</A></strong>, 
Matthew Mihaly <a href="mailto:diablo#best,com">diablo#best,com</a>, Mon 14 Jun 1999, 23:14 GMT
</LI>
</UL></BLOCKQUOTE>

</ul>
<hr>
<center>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
</center>
<hr>
</body>
</html>