<HEAD><TITLE>discuss@charon: [696] in "Coldmud discussion meeting"</TITLE>
<H1>[696] in Coldmud discussion meeting</H1></HEAD>
<A HREF="/"><IMG SRC="/i-d.gif" ALT="root"></A>
<A HREF="?696"><IMG SRC="/i-back.gif" ALT="meeting"></A>
<A HREF="/help.html"><IMG SRC="/i-help.gif" ALT="help"></A>
<A HREF="1"><IMG SRC="/i-first.gif" ALT="first"></A>
<A HREF="666"><IMG SRC="/i-fref.gif" ALT="first in chain"></A>
<A HREF="694"><IMG SRC="/i-pref.gif" ALT="previous in chain"></A>
<A HREF="695"><IMG SRC="/i-prev.gif" ALT="previous"></A>
<A HREF="697"><IMG SRC="/i-next.gif" ALT="next"></A>
<A HREF="697"><IMG SRC="/i-nref.gif" ALT="next in chain"></A>
<A HREF="726"><IMG SRC="/i-lref.gif" ALT="last in chain"></A>
<A HREF="1641"><IMG SRC="/i-last.gif" ALT="last"></A>
<HR><H2>Re: assignment operator</H2>
<H3>daemon@ATHENA.MIT.EDU (Fri Mar 10 23:57:36 1995
)</H3>
<PRE>
Date: Fri, 10 Mar 1995 20:53:58 -0800
To: coldstuff@MIT.EDU
From: jeffpk@netcom.com (Jeff Kesselman)

&gt;&lt; I think these endless squabbles over syntactic minutia
&gt;&lt; are a good reason to put compilers in-db rather than
&gt;&lt; inserver, personally :).
&gt;
&gt;Because of a reason you yourself brought up (twisting it a little).  The most
&gt;frequently used sequence/procedure should be the most optimized.  Doing it
&gt;in-db means it will not be very optimized.  Doing it in-driver means it will
&gt;be (referring to both compile and decompile).
&gt;
&gt;Actually, with the change Crag is working on we can remove "compile()"
&gt;and have an 'add_method(name, flags, args, vars, body)', then take the
&gt;parsing code in compile and make a 'coldc_to_method()' and a
&gt;'method_to_coldc()' (so, if people wanted to they could easilly add more
&gt;parsing functions).
&gt;
&gt;The end result is, to compile code you would do:
&gt;
&gt;  add_method('foo, @coldc_to_method(["arg foo; return foo;"]))
&gt;
&gt;Instead of:
&gt;
&gt;  compile(["arg foo; return foo;"], 'foo);

YES YES YES! PLEASE give us access to the ColdC 'assembly' level.  Thsi
owudl also allow hand-tuning as an intermidate efficiency stpe btw.
compield and actualy in-mud instructions.  Also, please complete the model
by givin decompiel instructions: get_method() and method_to_coldc().  After
all, the decompielr is already written so it shoudl be easy...

JK



</PRE>
