<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:Arial;}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:blue;
text-decoration:underline;}
span.typed
{font-family:"Courier New";}
span.tty
{font-family:"Courier New";}
span.name
{font-style:italic;}
span.variable
{font-family:"Times New Roman";
font-style:italic;}
span.emailstyle22
{font-family:Arial;
color:navy;}
span.EmailStyle220
{mso-style-type:personal-reply;
font-family:Arial;
color:navy;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;color:navy'>> What is “core Erlang”?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'>It’s
the Hardcore Erlang without the Hard part </span></font><font face=Wingdings><span
style='font-family:Wingdings'>J</span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'>Just kidding.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;color:navy'><o:p> </o:p></span></font></p>
<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt;font-family:"Times New Roman"'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font face=Tahoma><span
style='font-family:Tahoma'> erlang-questions-bounces@erlang.org
[mailto:erlang-questions-bounces@erlang.org] <b><span style='font-weight:bold'>On
Behalf Of </span></b>David Mercer<br>
<b><span style='font-weight:bold'>Sent:</span></b> 17. tammikuuta 2008 1:29<br>
<b><span style='font-weight:bold'>To:</span></b> 'Robert Virding'<br>
<b><span style='font-weight:bold'>Cc:</span></b> erlang-questions@erlang.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [erlang-questions]
concurrency developments</span></font><font size=3 face="Times New Roman"><span
style='font-size:12.0pt;font-family:"Times New Roman"'><o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<div style='border:none;border-left:solid windowtext 1.0pt;padding:0in 0in 0in 4.0pt;
margin-left:9.0pt'>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'>If
you are going to compile down to something other than straight Erlang then the
best target is Core erlang.<o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;color:navy'> </span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;color:navy'>What is “core Erlang”?</span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;color:navy'> </span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;color:navy'>DBM</span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;color:navy'> </span></font><o:p></o:p></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=2
face=Arial><span style='font-size:10.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font face=Tahoma><span
style='font-family:Tahoma'> erlang-questions-bounces@erlang.org
[mailto:erlang-questions-bounces@erlang.org] <b><span style='font-weight:bold'>On
Behalf Of </span></b>Robert Virding<br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, January 16, 2008
16:17<br>
<b><span style='font-weight:bold'>To:</span></b> bobcalco@tampabay.rr.com<br>
<b><span style='font-weight:bold'>Cc:</span></b> erlang-questions@erlang.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [erlang-questions]
concurrency developments</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'> <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'>On
16/01/2008, <b><span style='font-weight:bold'>Bob Calco</span></b> <<a
href="mailto:bobcalco@tampabay.rr.com">bobcalco@tampabay.rr.com</a>> wrote:<o:p></o:p></span></font></p>
<div>
<blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;
margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'>
<div link=blue vlink=purple>
<div>
<p class=MsoNormal><font size=2 color="#1f497d" face=Arial><span
style='font-size:11.0pt;color:#1F497D'>I have recently decided to experiment
writing a Ruby-like front end to Erlang, code named Emerld, which would
generate Erlang code that would then be compiled (at least until I can learn
the BEAM file format well enough to generate it directly). It could
theoretically be retargeted to .NET or Java when either of the two got their
act together for concurrency. That seems to me more a matter of when than if.
Until then though I have committed myself to mastering Erlang, because I think
it will give me a huge competitive edge in the new multi-core world we live in
as a software designer and architect.</span></font><o:p></o:p></p>
</div>
</div>
</blockquote>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'><br>
If you are going to compile down to something other than straight Erlang then
the best target is Core erlang. It a pure relatively simple and standard
functional language which is used inside the compiler. The AST is defined by a
set of records and there are tools to read/check/print it. As far as I know
there is nothing *legal* you can do in the BEAM code which you can't do in
Core. Also you have the benefit of not being forced to modify your compiler as
the BEAM engine is improved. If I remember correctly HIPA also uses Core for
one pass in its compiler. Someone who knows can comment. <br>
<br>
This is what I am doing for my LISP front-end to Erlang. Soon to be ready.<br>
<br>
Robert<o:p></o:p></span></font></p>
</div>
</div>
</div>
</div>
</body>
</html>