<div dir="ltr">On Thu, Nov 22, 2012 at 7:56 AM, Jacques Carette <span dir="ltr">&lt;<a href="mailto:carette@mcmaster.ca" target="_blank">carette@mcmaster.ca</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 20/11/2012 6:08 PM, Richard O&#39;Keefe wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
On 21/11/2012, at 4:49 AM, &lt;<a href="mailto:citb@lavabit.com" target="_blank">citb@lavabit.com</a>&gt; wrote:<br>
<br>
</div><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Well, I don&#39;t know. Would it save some time? Why bother with a core language? <br>
</blockquote>
For a high level language (and for this purpose, even Fortran 66 counts as<br>
&quot;high level&quot;) you really don&#39;t _want_ a direct translation from source code<br>
to object code.  You want to eliminate unused code and you want to do all<br>
sorts of analyses and improvements.  It is *much* easier to do all that to<br>
a small core language than to the full source language.<br>
</div></blockquote>
<br>
Actually, here I disagree.  It might be much &#39;easier&#39; for the programmers to do it for a small core language, but it may turn out to be much, much less effective.  I &#39;discovered&#39; this when (co-)writing a partial evaluator for Maple: </blockquote>
<div><br></div><div>You&#39;re still using a core language, though; just with a slightly different focus than Haskell&#39;s.  I already mentioned gcc&#39;s internal language, which similarly is larger (semantically; syntactically it&#39;s sexprs).  What combination is more appropriate depends on the language and the compiler implementation.</div>
<div><br></div></div>-- <br><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div>
<div>unix/linux, openafs, kerberos, infrastructure          <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div><br>
</div>