1997Q2/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev] Languages -->
<!--X-From-R13: ptNnzv&#45;pt.UenlEntr.Sqzbagba.OP.QO (Quevf Uenl) -->
<!--X-Date: from scipio.globecomm.net [207.51.48.12] by mx01.ny.us.ibm.net id 864226055.55693&#45;1 Wed May 21 14:47:35 1997 -->
<!--X-Message-Id: 9705211529.81am@ami&#45;cg.GraySage.Edmonton.AB.CA -->
<!--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:cg#ami-cg,GraySage.Edmonton.AB.CA">
</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="msg00662.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00667.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00650.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00680.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00663">Author</A>
&nbsp;|&nbsp;<A HREF="#00663">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00663">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>: <A HREF="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</A> (Chris Gray)</LI>
<LI><em>Date</em>: Wed, 21 May 97 08:29:15 MST</LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
[Miro:]

:&gt; 'nil' is a language construct. It is defined to be equal to no pointer,
:&gt; and to be such that any pointer can be compared for equality against it,
:&gt; and such that it can be assigned to any pointer type. I'm not sure where
:&gt; the concept first originated, but I think AlgolW had one (spelled 'null'),
:&gt; and I know Algol68 has one. Internally to the parser, it has type
:&gt; &lt;NIL-TYPE&gt;, and all type-checking code knows about it.
:
:Ah, just as I expected... But if you have type checking, you could just
:as well replace it with true type dispatch and use dynamic types
:instead? :)

The type of 'nil' is not visible to the programmer - there is no way
to "name" it in the language. As it should be. There is no way to type
check at run-time, since there is no way to produce a value of unknown
type at run time. The only dynamic typing happens when you fetch a
function value from the db - you must specify the result and parameter
types when you call it, and the system will get upset if they do not
match at run-time.

'nil' is used just like many programmers use 'NULL' in C. (To be pendantic,
it is like many programmers use '0' in C, since that is how one writes
that value in C.) I don't see any reason to add new constructs for a
situation that is actually quite simple - that of checking if (or making)
a reference refers to anything or not.

:(note that if MUD is hard to debug because of no debug support, dynamic
:typing is not the one to blame. Stack trace is your friend in all
:dynamic languages, starting with LISP - and it's something that is
:far harder to program in a static language, although not at all
:impossible).

Full tracebacks are quite simple in AmigaMUD - since the entire internal
representation of functions is available at run-time, the traceback code
just needs to run down the parameter lists to obtain their types.
[Clarification: the internal representation is available to the system
(of course!) but not to MUD programmers. They *can* get a decompiled
text form via a builtin, however.]

:As you can see, the propagation chain gets VERY complicated. The most
:natural (whatever it means - I'm far for claiming that this is the only
:way) is to pass the message through object-to-object method calls.
:But this requires hypertext 'somthing' to be tangible, propagatable
:object. This is the problem that had to be solved. :)

To understand further, I'll have to ask for more details on what the
embedded hypertext stuff can do. Is it links like in traditional
hypertext (ala Ted Nelson), or is it font-control, etc.?

:Principal languages that make great reading:

Actually, I was just concerned with the MUD languages that those of us
in this mailing list had developed. More general-purpose languages are
likely covered in an easier-to-read format in my 20 years of SigPLAN
Notices.

:As for the MUD languages, the Cold manual is at
:
:<A  HREF="http://ice.cold.org:1180/bin/help?node=$help_coldc">http://ice.cold.org:1180/bin/help?node=$help_coldc</A>

This would be more useful. Hopefully my browser is able to handle whatever
is spit out. Is there a straight-text form that I could read more at my
leisure?

:MOO manuals should be easy to find and is a canon example of the
:server that is secure enough to allow user-level programming (but
:is too slow for it. ;) )

I've read some of the stuff on MOO, and have more here to go through.

:And reading up on C, C++ and Java goes without saying. :)

I was writing an ANSI C compiler at work when the draft was being worked
on, so I've seen far too much of that. I've read enough on C++ to know
that its unlikely I'll ever use it, and I fail to see any contributions
it has made to the state of the art (fight'n words, I know!). I do need
to read up on Java, however.

--
Chris Gray   cg#ami-cg,GraySage.Edmonton.AB.CA

</PRE>

<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<ul compact><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><A NAME="00682" HREF="msg00682.html">Re: [MUD-Dev] Languages</A></strong>
<ul compact><li><em>From:</em> silovic#srce,hr (Miroslav Silovic)</li></ul>
<li><strong><A NAME="00681" HREF="msg00681.html">Re: [MUD-Dev] Languages</A></strong>
<ul compact><li><em>From:</em> Brandon Gillespie &lt;brandon#cold,org&gt;</li></ul>
<li><strong><A NAME="00680" HREF="msg00680.html">Re: [MUD-Dev] Languages</A></strong>
<ul compact><li><em>From:</em> Caliban Tiresias Darklock &lt;caliban#darklock,com&gt;</li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00662.html">Re: [MUD-Dev]  Virtual rooms (was: RP thesis...)</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00667.html">Re: [MUD-Dev]  RP thesis...</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00650.html">Re: [MUD-Dev] Languages</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00680.html">Re: [MUD-Dev] Languages</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00663"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00663"><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="00616" HREF="msg00616.html">Re: [MUD-Dev] Languages</A></strong>, 
Jeff Kesselman <a href="mailto:jeffk#tenetwork,com">jeffk#tenetwork,com</a>, Tue 20 May 1997, 11:29 GMT
</LI>
<LI><strong><A NAME="00618" HREF="msg00618.html">Re: [MUD-Dev] Languages</A></strong>, 
Jeff Kesselman <a href="mailto:jeffk#tenetwork,com">jeffk#tenetwork,com</a>, Tue 20 May 1997, 11:39 GMT
</LI>
<LI><strong><A NAME="00627" HREF="msg00627.html">Re: [MUD-Dev] Languages</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Tue 20 May 1997, 21:47 GMT
</LI>
<LI><strong><A NAME="00650" HREF="msg00650.html">Re: [MUD-Dev] Languages</A></strong>, 
Jeff Kesselman <a href="mailto:jeffk#tenetwork,com">jeffk#tenetwork,com</a>, Wed 21 May 1997, 12:48 GMT
</LI>
<LI><strong><A NAME="00663" HREF="msg00663.html">Re: [MUD-Dev] Languages</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Wed 21 May 1997, 21:47 GMT
<UL>
<LI><strong><A NAME="00680" HREF="msg00680.html">Re: [MUD-Dev] Languages</A></strong>, 
Caliban Tiresias Darklock <a href="mailto:caliban#darklock,com">caliban#darklock,com</a>, Thu 22 May 1997, 01:33 GMT
<UL>
<LI><strong><A NAME="00701" HREF="msg00701.html">Re: [MUD-Dev] Languages</A></strong>, 
Ben Greear <a href="mailto:greear#pollux,cs.uga.edu">greear#pollux,cs.uga.edu</a>, Fri 23 May 1997, 08:34 GMT
<UL>
<LI><strong><A NAME="00708" HREF="msg00708.html">Re: [MUD-Dev] Languages</A></strong>, 
Caliban Tiresias Darklock <a href="mailto:caliban#darklock,com">caliban#darklock,com</a>, Fri 23 May 1997, 11:54 GMT
<UL>
<LI><strong><A NAME="00725" HREF="msg00725.html">Re: [MUD-Dev] Languages</A></strong>, 
Shawn Halpenny <a href="mailto:malachai#iname,com">malachai#iname,com</a>, Sat 24 May 1997, 07:08 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</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>