<!-- MHonArc v2.4.4 --> <!--X-Subject: [MUD-Dev] Re: MUD verb handling (Was: DevMUD - thoughts.1) --> <!--X-From-R13: @vxynf Syzdivfg <q97ryzNqgrx.punyzref.fr> --> <!--X-Date: Tue, 27 Oct 1998 08:32:15 -0800 --> <!--X-Message-Id: Pine.SOL.3.96.981027170556.15082A-100000#licia,dtek.chalmers.se --> <!--X-Content-Type: text/plain --> <!--X-Reference: 19981026225136.A27334#divcom,slimy.com --> <!--X-Head-End--> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <head> <title>MUD-Dev message, [MUD-Dev] Re: MUD verb handling (Was: DevMUD - thoughts.1)</title> <!-- meta name="robots" content="noindex,nofollow" --> <link rev="made" href="mailto:d97elm#dtek,chalmers.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> [ <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="msg00548.html">Previous</a> | <a href="msg00550.html">Next</a> ] Thread: [ <a href="msg00543.html">Previous</a> | <a href="msg00483.html">Next</a> ] Index: [ <A HREF="author.html#00549">Author</A> | <A HREF="#00549">Date</A> | <A HREF="thread.html#00549">Thread</A> ] <!--X-TopPNI-End--> <!--X-MsgBody--> <!--X-Subject-Header-Begin--> <H1>[MUD-Dev] Re: MUD verb handling (Was: DevMUD - thoughts.1)</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>: [MUD-Dev] Re: MUD verb handling (Was: DevMUD - thoughts.1)</LI> <LI><em>From</em>: Niklas Elmqvist <<A HREF="mailto:d97elm#dtek,chalmers.se">d97elm#dtek,chalmers.se</A>></LI> <LI><em>Date</em>: Tue, 27 Oct 1998 17:28:58 +0100 (MET)</LI> <LI><em>cc</em>: Jon Leonard <<A HREF="mailto:jleonard#divcom,slimy.com">jleonard#divcom,slimy.com</A>></LI> <LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#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 Mon, 26 Oct 1998, Jon Leonard wrote: > I think that a mud configuration using object-defined verbs should get > implemented in DevMUD, but my ideal remains the system where the parser > (whichever one is appropriate for the natural language the user typed) > translates into an internal command language, and is then executed. The > internal language would consist of parse trees of verbs, objects and so > on, and would exist in order to allow uniform responses to commands > across the whole MUD. Hmm, I don't know if I understand you correctly, but this sounds pretty good. This has led me to realize that we need to provide a facility to pass information from native code modules to MUD-language softcode. Hmm, maybe we want native code and MUD language softcode to be used interchangably? (Yes, I am not original in proposing this and has in fact opposed it before, but now I see that it may be necessary.) The differences in inter-module communication and loading/unloading between native code modules and softcode modules would have to be hidden by an abstraction layer. This way, people could decide to do different stuff on different tech levels; some would do routines in native code (sort of hard-coded) at the module level, while others do this at lib level. It *still* is not hard-coded, since modules can easily be reloaded with new behavior. As for the parser example above, the lib builders would just build command handlers in the MUD language. I think parsing (or at least lexing) is better left to the native code modules for efficiency reasons (not necessarily though, hence no distinction -- at least from the viewpoint of the module and lib programmers -- between native and soft code should be made). The root game object in the lib would get command handler methods such as "get", "drop", "throw", etc and specific object classes would inherit from these and redefine the behavior. This way, a new object could either go with the old handlers, redefine existing handlers or create new handlers (all via verb binding or something). Of course, I realize that this is probably what LP and other softcoded MUDs do, but the difference is that we would support native code command handlers on the module level as well. In other words, our scheme would not limit the developers to a specific convention or paradigm. > Jon Leonard -- Niklas Elmqvist (d97elm#dtek,chalmers.se) ---------------------- "The trouble with being a god is that you've got no one to pray to." -- Terry Pratchett, Small Gods </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="00543" HREF="msg00543.html">[MUD-Dev] Re: MUD verb handling (Was: DevMUD - thoughts.1)</A></STRONG> <UL><LI><EM>From:</EM> Jon Leonard <jleonard#divcom,slimy.com></LI></UL></LI> </UL></LI></UL> <!--X-References-End--> <!--X-BotPNI--> <UL> <LI>Prev by Date: <STRONG><A HREF="msg00548.html">[MUD-Dev] Re: PDMud thread summary</A></STRONG> </LI> <LI>Next by Date: <STRONG><A HREF="msg00550.html">[MUD-Dev] Re: Why did it take years?</A></STRONG> </LI> <LI>Prev by thread: <STRONG><A HREF="msg00543.html">[MUD-Dev] Re: MUD verb handling (Was: DevMUD - thoughts.1)</A></STRONG> </LI> <LI>Next by thread: <STRONG><A HREF="msg00483.html">[MUD-Dev] Re: DevMUD - thoughts.1</A></STRONG> </LI> <LI>Index(es): <UL> <LI><A HREF="index.html#00549"><STRONG>Date</STRONG></A></LI> <LI><A HREF="thread.html#00549"><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>[MUD-Dev] Re: DevMUD - thoughts.1</STRONG>, <EM>(continued)</EM> <ul compact> <LI><strong><A NAME="00481" HREF="msg00481.html">[MUD-Dev] Re: DevMUD - thoughts.1</A></strong>, Niklas Elmqvist <a href="mailto:d97elm#dtek,chalmers.se">d97elm#dtek,chalmers.se</a>, Sun 25 Oct 1998, 09:39 GMT </LI> <LI><strong><A NAME="00482" HREF="msg00482.html">[MUD-Dev] Re: MUD verb handling (Was: DevMUD - thoughts.1)</A></strong>, The Arrow <a href="mailto:arrow#trelleborg,mail.telia.com">arrow#trelleborg,mail.telia.com</a>, Sun 25 Oct 1998, 11:57 GMT <UL> <LI><strong><A NAME="00487" HREF="msg00487.html">[MUD-Dev] Re: MUD verb handling (Was: DevMUD - thoughts.1)</A></strong>, Adam J. Thornton <a href="mailto:adam#phoenix,Princeton.EDU">adam#phoenix,Princeton.EDU</a>, Sun 25 Oct 1998, 15:11 GMT </LI> <LI><strong><A NAME="00543" HREF="msg00543.html">[MUD-Dev] Re: MUD verb handling (Was: DevMUD - thoughts.1)</A></strong>, Jon Leonard <a href="mailto:jleonard#divcom,slimy.com">jleonard#divcom,slimy.com</a>, Tue 27 Oct 1998, 06:57 GMT <UL> <LI><strong><A NAME="00549" HREF="msg00549.html">[MUD-Dev] Re: MUD verb handling (Was: DevMUD - thoughts.1)</A></strong>, Niklas Elmqvist <a href="mailto:d97elm#dtek,chalmers.se">d97elm#dtek,chalmers.se</a>, Tue 27 Oct 1998, 16:32 GMT </LI> </UL> </LI> </UL> </LI> <LI><strong><A NAME="00483" HREF="msg00483.html">[MUD-Dev] Re: DevMUD - thoughts.1</A></strong>, James Wilson <a href="mailto:jwilson#rochester,rr.com">jwilson#rochester,rr.com</a>, Sun 25 Oct 1998, 13:47 GMT </LI> </ul> </LI> <LI><strong><A NAME="00475" HREF="msg00475.html">[MUD-Dev] Re: I wanna do it OO</A></strong>, Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Sun 25 Oct 1998, 03:53 GMT <LI><strong><A NAME="00472" HREF="msg00472.html">[MUD-Dev] Re: DevMUD Event Language</A></strong>, Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Sun 25 Oct 1998, 02:37 GMT <LI><strong><A NAME="00465" HREF="msg00465.html">[MUD-Dev] Re: PDMud, Gamora and Casbah</A></strong>, ApplePiMan <a href="mailto:ApplePiMan#aol,com">ApplePiMan#aol,com</a>, Sat 24 Oct 1998, 23:35 GMT </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>