<!-- MHonArc v2.4.4 --> <!--X-Subject: Re: [MUD-Dev] Storing tokens with flex & bison --> <!--X-From-R13: Yriva Zvggyrwbua <qnevhfNpbaarpg.pbz.nh> --> <!--X-Date: Sun, 02 Jan 2000 10:42:19 -0800 --> <!--X-Message-Id: 20000102182540.67CCC41811#koro,off.connect.com.au --> <!--X-Content-Type: text/plain --> <!--X-Reference: 200001021758.KAA01435@ami-cg.GraySage.Edmonton.AB.CA --> <!--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 & bison</title> <!-- meta name="robots" content="noindex,nofollow" --> <link rev="made" href="mailto:darius#connect,com.au"> </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> [ <a href="../">Other Periods</a> | <a href="../../">Other mailing lists</a> | <a href="/search.php3">Search</a> ] <br clear=all><hr> <!--X-Body-Begin--> <!--X-User-Header--> <!--X-User-Header-End--> <!--X-TopPNI--> Date: [ <a href="msg00023.html">Previous</a> | <a href="msg00025.html">Next</a> ] Thread: [ <a href="msg00023.html">Previous</a> | <a href="msg00122.html">Next</a> ] Index: [ <A HREF="author.html#00024">Author</A> | <A HREF="#00024">Date</A> | <A HREF="thread.html#00024">Thread</A> ] <!--X-TopPNI-End--> <!--X-MsgBody--> <!--X-Subject-Header-Begin--> <H1>Re: [MUD-Dev] Storing tokens with flex & 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 & bison </LI> <LI><em>From</em>: Kevin Littlejohn <<A HREF="mailto:darius#connect,com.au">darius#connect,com.au</A>></LI> <LI><em>Date</em>: Mon, 03 Jan 2000 05:25:40 +1100</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> >>> cg#ami-cg,GraySage.Edmonton.AB.CA wrote > Byte-code execution really only makes sense, I believe, for a strongly > typed language. If run-time checks and conversions are needed, they will > likely cost far more time than the basic interpretation of the code, and > so going to byte-code instead of staying with something more direct, could > be a waste of time, in that byte-code won't speed execution up much. ...python seems to gain from using byte-code rather than straight interpretation, and it's most definately _not_ strongly typed or static in it's variable definitions. I think there's a step or two there in just tokenising the code, and wrapping it in the appropriate references to global namespaces, function/object structures, and so forth, that you win on by pre-tokenising/bytecoding. It also makes a nice compact way to shovel code around, if you're db'ing/undb'ing it. What about LPC? Does it do the same thing - I seem to recall the words "semi-compiled", from my vague memories of working with it...? KevinL _______________________________________________ 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="00023" HREF="msg00023.html">Re: [MUD-Dev] Storing tokens with flex & bison</A></STRONG> <UL><LI><EM>From:</EM> cg#ami-cg,GraySage.Edmonton.AB.CA</LI></UL></LI> </UL></LI></UL> <!--X-References-End--> <!--X-BotPNI--> <UL> <LI>Prev by Date: <STRONG><A HREF="msg00023.html">Re: [MUD-Dev] Storing tokens with flex & bison</A></STRONG> </LI> <LI>Next by Date: <STRONG><A HREF="msg00025.html">Re: [MUD-Dev] Admins as Mortals twist</A></STRONG> </LI> <LI>Prev by thread: <STRONG><A HREF="msg00023.html">Re: [MUD-Dev] Storing tokens with flex & bison</A></STRONG> </LI> <LI>Next by thread: <STRONG><A HREF="msg00122.html">Re: [MUD-Dev] Storing tokens with flex & bison</A></STRONG> </LI> <LI>Index(es): <UL> <LI><A HREF="index.html#00024"><STRONG>Date</STRONG></A></LI> <LI><A HREF="thread.html#00024"><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 & bison</STRONG>, <EM>(continued)</EM> <ul compact> <LI><strong><A NAME="00015" HREF="msg00015.html">Re: [MUD-Dev] Storing tokens with flex & 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 & 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 & 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 & 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 & 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 & 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> <LI><strong><A NAME="00028" HREF="msg00028.html">Re: [MUD-Dev] Storing tokens with flex & bison</A></strong>, Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Mon 03 Jan 2000, 03:25 GMT <UL> <LI><strong><A NAME="00121" HREF="msg00121.html">Re: [MUD-Dev] Storing tokens with flex & bison</A></strong>, J C Lawrence <a href="mailto:claw#kanga,nu">claw#kanga,nu</a>, Tue 18 Jan 2000, 08:55 GMT </LI> </UL> </LI> <LI><strong><A NAME="00027" HREF="msg00027.html">Re: [MUD-Dev] Storing tokens with flex & bison</A></strong>, cg <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Mon 03 Jan 2000, 03:25 GMT </LI> </ul> </LI> </UL></BLOCKQUOTE> </ul> <hr> <center> [ <a href="../">Other Periods</a> | <a href="../../">Other mailing lists</a> | <a href="/search.php3">Search</a> ] </center> <hr> </body> </html>