msg00018.html

2000Q1/msg00018.html · 7.7 KB

From the archive 2000Q1.zip

Download the archive   « Back to the archive contents

<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev] Storing tokens with flex &#38; bison -->
<!--X-From-R13: Quevfgre Sasbef <rasbefNfjvcarg.fr> -->
<!--X-Date: Sat, 01 Jan 2000 20:15:50 &#45;0800 -->
<!--X-Message-Id: Pine.LNX.4.10.10001020314010.8517&#45;100000#azura,swipnet.se -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 002201bf54bb$8cefb340$020101df@JonLambert -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev] Storing tokens with flex &amp; bison</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:enfors#swipnet,se">
</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="msg00017.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00019.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00015.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00022.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00018">Author</A>
&nbsp;|&nbsp;<A HREF="#00018">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00018">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev] Storing tokens with flex &amp; bison</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] Storing tokens with flex &amp; bison</LI>
<LI><em>From</em>: Christer Enfors &lt;<A HREF="mailto:enfors#swipnet,se">enfors#swipnet,se</A>&gt;</LI>
<LI><em>Date</em>: Sun, 2 Jan 2000 03:20:01 +0100 (CET)</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 Sat, 1 Jan 2000, Jon A. Lambert wrote:

&gt; Christer Enfors wrote:
&gt; On Sat, 1 Jan 2000, Chris Turner wrote:
&gt; &gt;&gt; 
&gt; &gt;&gt; The O'Reilly Lex &amp; Yacc book is well written and contains many tutorials.
&gt; &gt;
&gt; &gt;Right, but it doesn't have a tutorial that involves storing the source
&gt; &gt;code in any format for later execution, which is what I'm looking for in
&gt; &gt;this case.
&gt; 
&gt; 
&gt; Nod.  In order to use a byte code, one must first design and implement
&gt; a virtual machine, or target it for an existing VM (i.e. Java)
&gt; I think what you are looking for is documentation on designing Virtual
&gt; Machines.  The way I learned was by snooping through all the notes,
&gt; examples, and syllabus (syllabi?) left out on the net by university professors
&gt; teaching it.  For some reason the CS course numbers (505 and 565) seem
&gt; familar, though it has been a couple years.  :-( 
&gt; There's Sun's Java VM doc, the Smart tiny VM, the Luck VM, the ANTLR 
&gt; tutorial by Scott Stanchfield(?) that implements a language called
&gt; X.  I don't know offhand of any books that cover VM design in depth.  

Ah, now the pieces are starting to fall into place.

I am not supposed to use lex &amp; yacc for the execution at all, am I? I
thought I was. All I should use lex &amp; yacc for is the source code to byte
code compilation, right? And since my byte code is so clever / simple, I
can code the VM manually in C, without needing lex &amp; yacc? Am I on the
right track now? =)

--
	             -=-=- Christer Enfors -=-=-

       "I do my music in pure machine code using an assembler."
			    - Rob Hubbard




_______________________________________________
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="00015" HREF="msg00015.html">Re: [MUD-Dev] Storing tokens with flex &amp; bison</A></STRONG>
<UL><LI><EM>From:</EM> "Jon A. Lambert" &lt;jlsysinc#ix,netcom.com&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00017.html">[MUD-Dev] New link support</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00019.html">Re: [MUD-Dev] Storing tokens with flex &amp; bison</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00015.html">Re: [MUD-Dev] Storing tokens with flex &amp; bison</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00022.html">Re: [MUD-Dev] Storing tokens with flex &amp; bison</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00018"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00018"><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] Storing tokens with flex &amp; bison</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<ul compact>
<LI><strong><A NAME="00019" HREF="msg00019.html">Re: [MUD-Dev] Storing tokens with flex &amp; bison</A></strong>, 
J C Lawrence <a href="mailto:claw#kanga,nu">claw#kanga,nu</a>, Sun 02 Jan 2000, 04:45 GMT
<UL>
<LI><strong><A NAME="00034" HREF="msg00034.html">Re: [MUD-Dev] Storing tokens with flex &amp; bison</A></strong>, 
Ola Fosheim Grøstad <a href="mailto:olag#ifi,uio.no">olag#ifi,uio.no</a>, Mon 03 Jan 2000, 16:44 GMT
</LI>
</UL>
</LI>
</ul>
</ul>
<LI><strong><A NAME="00008" HREF="msg00008.html">Re: [MUD-Dev] Storing tokens with flex &amp; bison</A></strong>, 
cg <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Sat 01 Jan 2000, 19:53 GMT
</LI>
<LI><strong><A NAME="00015" HREF="msg00015.html">Re: [MUD-Dev] Storing tokens with flex &amp; bison</A></strong>, 
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Sun 02 Jan 2000, 01:05 GMT
<UL>
<LI><strong><A NAME="00018" HREF="msg00018.html">Re: [MUD-Dev] Storing tokens with flex &amp; bison</A></strong>, 
Christer Enfors <a href="mailto:enfors#swipnet,se">enfors#swipnet,se</a>, Sun 02 Jan 2000, 04:15 GMT
</LI>
<LI><strong><A NAME="00022" HREF="msg00022.html">Re: [MUD-Dev] Storing tokens with flex &amp; bison</A></strong>, 
Greg Miller <a href="mailto:gmiller#classic-games,com">gmiller#classic-games,com</a>, Sun 02 Jan 2000, 17:26 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00023" HREF="msg00023.html">Re: [MUD-Dev] Storing tokens with flex &amp; bison</A></strong>, 
cg <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Sun 02 Jan 2000, 18:08 GMT
<UL>
<LI><strong><A NAME="00024" HREF="msg00024.html">Re: [MUD-Dev] Storing tokens with flex &amp; bison</A></strong>, 
Kevin Littlejohn <a href="mailto:darius#connect,com.au">darius#connect,com.au</a>, Sun 02 Jan 2000, 18:42 GMT
</LI>
<LI><strong><A NAME="00122" HREF="msg00122.html">Re: [MUD-Dev] Storing tokens with flex &amp; bison</A></strong>, 
J C Lawrence <a href="mailto:claw#kanga,nu">claw#kanga,nu</a>, Tue 18 Jan 2000, 09:02 GMT
</LI>
</UL>
</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>

Site Stats

Snippets: 1791
Codebases: 571