1997Q2/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev] Languages -->
<!--X-From-R13: Xrss Yrffryzna <wrssxNgrargjbex.pbz> -->
<!--X-Date: from scipio.globecomm.net [207.51.48.12] by in10.ibm.net id 864759417.19960&#45;1 Tue May 27 18:56:57 1997 CUT -->
<!--X-Message-Id: 3.0.32.19970526222031.00ac9204#mail,tenetwork.com -->
<!--X-Content-Type: text/plain -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev] Languages</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:jeffk#tenetwork,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="msg00857.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00859.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00796.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00479.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00858">Author</A>
&nbsp;|&nbsp;<A HREF="#00858">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00858">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev] Languages</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: <A HREF="mailto:mud-dev#null,net">mud-dev#null,net</A></LI>
<LI><em>Subject</em>: Re: [MUD-Dev] Languages</LI>
<LI><em>From</em>: Jeff Kesselman &lt;<A HREF="mailto:jeffk#tenetwork,com">jeffk#tenetwork,com</A>&gt;</LI>
<LI><em>Date</em>: Tue, 27 May 1997 12:05:27 -0700</LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
At 12:33 PM 5/26/97 PST8PDT, you wrote:
&gt;&gt;I am in fact extremely interested in the the topic that I thought 
&gt;&gt;initially started this thread.  
&gt;
&gt;&gt;"How to implement my own internal mud language?"
&gt;
&gt;Me too.

Well, let me put in my 2 cents 'cause I don't know how much has been said
yet or is already understod...

This question is really two topice in one...

(1) How do I write a parser for my interpreter or compiler that will
understand my language and produce useful output

(2) How do I design a virtual machine that will take actions based on that
output?

In the beginning... these 2 peices of functionality were often intermingled
(ie BASIC, FORTRAN) with each line being individually recognized and acted
on each time it was visited.  This, however, was quickly seen to be A Bad
Idea.

Almost all modern systems have 2 distinct phases.  
(1) A compilation phase that takes the high level language code, which is
comparatively difficult for the machine to understand, and converts it to a
machine code (or in some cases an intermiediate form called a "parse tree")
that is much easier for the machine to understand and process (and hence
much faster).

(2) A run-time during which the compiled code is executed.

Some systems, such as threaded systems, will shift back and forth between
the two phases at run-time but they are stll ditinct.  No code is executed
that has not first been compiled.

Both language design and machine design are fascinating subjects that many
semesters of college course work are devoted to.  I'ld strongly recomend
the two books I mentioned earlier, Tannenbaum's "Machine Organization"
(migt be "Basic Machine Organization" I don't have it hand to check) and
"Crafting a Compiler" to anyone interested in the subjects.  Each one is a
text book for a semester's intro work.  These are both very formal areas of
COmp Sci with a lot of strong and useful theory behind them (personally I
find them about the most pure Computer Science I have ever done.)

JK



</PRE>

<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00857.html">Re: [MUD-Dev]  Internal Mud Languages</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00859.html">Re: [MUD-Dev]  Re: Nutirtion and a Resource Question</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00796.html">Re: [MUD-Dev] Languages</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00479.html">[MUD-Dev] Levels: An abstraction of character abilities.</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00858"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00858"><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] Languages</STRONG>, <EM>(continued)</EM>
<ul compact>
<LI><strong><A NAME="00787" HREF="msg00787.html">Re: [MUD-Dev] Languages</A></strong>, 
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Mon 26 May 1997, 01:51 GMT
</LI>
<LI><strong><A NAME="00788" HREF="msg00788.html">Re: [MUD-Dev] Languages</A></strong>, 
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Mon 26 May 1997, 02:03 GMT
<UL>
<LI><strong><A NAME="00810" HREF="msg00810.html">Re: [MUD-Dev] Languages</A></strong>, 
coder <a href="mailto:coder#ibm,net">coder#ibm,net</a>, Mon 26 May 1997, 22:52 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00796" HREF="msg00796.html">Re: [MUD-Dev] Languages</A></strong>, 
Jeff Kesselman <a href="mailto:jeffk#tenetwork,com">jeffk#tenetwork,com</a>, Mon 26 May 1997, 04:43 GMT
</LI>
<LI><strong><A NAME="00858" HREF="msg00858.html">Re: [MUD-Dev] Languages</A></strong>, 
Jeff Kesselman <a href="mailto:jeffk#tenetwork,com">jeffk#tenetwork,com</a>, Wed 28 May 1997, 01:56 GMT
</LI>
</ul>
</LI>
<LI><strong><A NAME="00479" HREF="msg00479.html">[MUD-Dev] Levels: An abstraction of character abilities.</A></strong>, 
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Thu 15 May 1997, 22:23 GMT
<UL>
<LI><strong><A NAME="00483" HREF="msg00483.html">Re: [MUD-Dev] Levels: An abstraction of character abilities.</A></strong>, 
Adam Wiggins <a href="mailto:nightfall#inficad,com">nightfall#inficad,com</a>, Thu 15 May 1997, 23:39 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00478" HREF="msg00478.html">Re: [MUD-Dev]	Re: Disk v. Mem</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Thu 15 May 1997, 21:58 GMT
<LI><strong><A NAME="00474" HREF="msg00474.html">Re: Role-playing</A></strong>, 
Khanone <a href="mailto:Khanone#aol,com">Khanone#aol,com</a>, Thu 15 May 1997, 02:16 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>