1997Q2/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: Execution -->
<!--X-From-R13: Xrss Yrffryzna <wrssxNgrargjbex.pbz> -->
<!--X-Date: from tacitus.globecomm.net [207.51.48.7] by mx4.ibm.net id 860739118.47430&#45;1 Fri Apr 11 06:11:58 1997 -->
<!--X-Message-Id: 3.0.32.19970410232142.00af6d54#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: Execution</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="msg00080.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00082.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00079.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00084.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00081">Author</A>
&nbsp;|&nbsp;<A HREF="#00081">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00081">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: Execution</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: Multiple Recipients of MUD Design Mailing List &lt;<A HREF="mailto:mud-dev#null,net">mud-dev#null,net</A>&gt;</LI>
<LI><em>Subject</em>: Re: Execution</LI>
<LI><em>From</em>: Jeff Kesselman &lt;<A HREF="mailto:jeffk#tenetwork,com">jeffk#tenetwork,com</A>&gt;</LI>
<LI><em>Date</em>: Thu, 10 Apr 1997 23:21:45 -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 07:42 PM 4/10/97 +0100, you wrote:
&gt;Whilst we're on the subject of compilers and all that sort of mish mash
&gt;which goes over my head, anyone ever looked at PCCTS?  It's some sort of
&gt;C++ compiler making tool and it's free (free and c++ being the operative
&gt;words for me).

Yes, Its what i wrote Kelvin-C in. I **LOVE** PCCTS.

I've had compielr theory classes and, while Ive done alot in YACC and LEX
(also free) alot of thinasg annoyed me about them. The same things annoyed
the auothor of PCCTS who set out to write a "better" (in our opinion) one...

SOme of the comparative features:

Grammers:
YACC -LALR. very pwoerful but rather obtuse and impossible to generate
automatic (tool egenrated) useuful syntactic error messages beyond "sytnatx
error at..."
ANTLR (The PCCTS equivelent) - LL(K).  What EVERY language I know if is. (,
C++, Psacal, JAVA, etc ad nauseum) Less pwoerful but still fine for
virtually all practical languages, can generate automatic syntax erro
message(like the old Turbo Pascal "Error at luine # column #, found &lt;foo&gt;
expected &lt;token list&gt;")

LEX - hanbd written token list, manaul connection to YACCC through defined
TOKEN #defines.
DLG (PCCTS equiuielent) - AUTOMATIC generation of DLG scripts from your
ANTLR grammer.

YACC input -- a slightly bizzare from of BNF 
PCCTS -- a very standard form of EBNF.

YACC Output -- Obtuse and impossible to read table driven C.
ANTLR output -- Easy to read classic recursive descent parsers in either C
or C++.

There are many more really neat PCCTS features I wont go into.

In general I think its man ytimes the tool YACC and LEX are, and i used to
swerar by em.  Note that NO compielr generator will let you build a
compielr though without soem udnerstanding of compiler theory. Its not
difficult once you understand some absic concept.s I personally like
"Crafting a Compiler" by Fsicher and LeBlanc Jr. (ISBN 0-8053-3201-4)  The
author of PCCTS also has a book coming otu specificly on his tools called
"Language translation with PCCTS and C++". I have it on order...

Jeff Kesselman -- Compiler Jock and Junkie


w
&gt;
&gt;  |				"With my naked eyes I saw the falling"
&gt;_O_O_  Ling - Freshwater fish	 rain coming down on."
&gt;
&gt;


</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="msg00080.html">Re: Greetings. :)</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00082.html">Hello!</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00079.html">Re: Execution</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00084.html">Re: Execution</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00081"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00081"><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><A NAME="00075" HREF="msg00075.html">Execution</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Thu 10 Apr 1997, 21:46 GMT
<UL>
<li>&lt;Possible follow-up(s)&gt;<br>
<LI><strong><A NAME="00077" HREF="msg00077.html">Re: Execution</A></strong>, 
Furball <a href="mailto:K.L.Lo-94#student,lut.ac.uk">K.L.Lo-94#student,lut.ac.uk</a>, Fri 11 Apr 1997, 01:37 GMT
</LI>
<LI><strong><A NAME="00078" HREF="msg00078.html">Re: Execution</A></strong>, 
Jeff Kesselman <a href="mailto:jeffk#tenetwork,com">jeffk#tenetwork,com</a>, Fri 11 Apr 1997, 08:50 GMT
</LI>
<LI><strong><A NAME="00079" HREF="msg00079.html">Re: Execution</A></strong>, 
Cynbe ru Taren <a href="mailto:cynbe#laurel,actlab.utexas.edu">cynbe#laurel,actlab.utexas.edu</a>, Fri 11 Apr 1997, 10:47 GMT
</LI>
<LI><strong><A NAME="00081" HREF="msg00081.html">Re: Execution</A></strong>, 
Jeff Kesselman <a href="mailto:jeffk#tenetwork,com">jeffk#tenetwork,com</a>, Fri 11 Apr 1997, 13:11 GMT
</LI>
<LI><strong><A NAME="00084" HREF="msg00084.html">Re: Execution</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Sat 12 Apr 1997, 02:10 GMT
</LI>
<LI><strong><A NAME="00085" HREF="msg00085.html">Re: Execution</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Sat 12 Apr 1997, 02:16 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00073" HREF="msg00073.html">Java as a mudserver language</A></strong>, 
Cynbe ru Taren <a href="mailto:cynbe#laurel,actlab.utexas.edu">cynbe#laurel,actlab.utexas.edu</a>, Thu 10 Apr 1997, 17:50 GMT
<UL>
<li>&lt;Possible follow-up(s)&gt;<br>
<LI><strong><A NAME="00074" HREF="msg00074.html">Re: Java as a mudserver language</A></strong>, 
Jeff Kesselman <a href="mailto:jeffk#tenetwork,com">jeffk#tenetwork,com</a>, Thu 10 Apr 1997, 18:20 GMT
</LI>
</UL>
</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>