<div dir="auto">Oh wow, thank you.</div><div dir="auto">Please add this to the tree if you can.</div><div dir="auto">I will look soon, and I will improve the diagnostics at least a little.</div><div dir="auto">Again, it does compile the entire tree. Something is “unique” here. Maybe reusing an enum member??</div><div dir="auto"><br></div><div dir="auto">- Jay</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 2, 2021 at 1:56 PM Darko Volaric <<a href="mailto:lists@darko.org">lists@darko.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div dir="ltr">It definitely still has problems, I get<div><br></div><div>





<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures;font-family:Menlo">***</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures;font-family:Menlo">*** runtime error:</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures;font-family:Menlo">***<span style="font-family:Menlo">    </span><*ASSERT*> failed.</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures;font-family:Menlo">***<span style="font-family:Menlo">    </span>file "../src/M3C.m3", line 2523</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures;font-family:Menlo">***</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures;font-family:Menlo"></span><br></p>when compiling an interface at the declaration</div><div>  <p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px;color:rgb(0,0,0)">TYPE ExAtmX = {<br>  Nil,<br>  Sort,<br>  Inst,<br>  Bin,<br>  Str,<br>  Bool,<br>  Int,<br>  Real,<br>  Any,<br><br>  LocalLink,<br>  FeatLink,<br>  SortLink,<br>  RowLink,<br><br>  Stream,<br>  FeatAdr,<br><br>  Result<br>};<br></p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px;color:rgb(0,0,0)"><br></p>with the last C file output being</div><div><br><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px;color:rgb(0,0,0)">/*enum_define*/typedef UINT8 T2DE88987; /*declare_enum*/<br>#define T2DE88987_Nil ((UINT8)0) /*declare_enum_elt*/<br>#define T2DE88987_Sort ((UINT8)1) /*declare_enum_elt*/<br>#define T2DE88987_Inst ((UINT8)2) /*declare_enum_elt*/<br>#define T2DE88987_Bin ((UINT8)3) /*declare_enum_elt*/<br>#define T2DE88987_Str ((UINT8)4) /*declare_enum_elt*/<br>#define T2DE88987_Bool ((UINT8)5) /*declare_enum_elt*/<br>#define T2DE88987_Int ((UINT8)6) /*declare_enum_elt*/<br>#define T2DE88987_Real ((UINT8)7) /*declare_enum_elt*/<br>#define T2DE88987_Any ((UINT8)8) /*declare_enum_elt*/<br>#define T2DE88987_LocalLink ((UINT8)9) /*declare_enum_elt*/<br>#define T2DE88987_FeatLink ((UINT8)10) /*declare_enum_elt*/<br>#define T2DE88987_SortLink ((UINT8)11) /*declare_enum_elt*/<br></p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px;color:rgb(0,0,0)"><br></p>with<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px;color:rgb(0,0,0)"><br></p><p style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures;font-family:Menlo">Critical Mass Modula-3 version d5.10.0</span></p><p style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures;font-family:Menlo"><span style="font-family:Menlo">  </span>last updated: 2016-10-05</span></p><p style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures;font-family:Menlo"><span style="font-family:Menlo">  </span>compiled: 2021-02-26 09:11:48</span></p><p style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures;font-family:Menlo"><span style="font-family:Menlo">  </span>configuration: /Users/darko/Apps/cm3/bin/cm3.cfg</span></p><p style="margin:0px;font-style:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures;font-family:Menlo"><span style="font-family:Menlo">  </span>host: AMD64_DARWIN</span></p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px;color:rgb(0,0,0)">










</p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures;font-family:Menlo"><span style="font-family:Menlo">  </span>target: AMD64_DARWIN</span></p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures;font-family:Menlo"><br></span></p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px;color:rgb(0,0,0)"><br></p></div></div><br><div class="gmail_quote"></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 2, 2021 at 7:39 PM Jay K <<a href="mailto:jayk123@hotmail.com" target="_blank">jayk123@hotmail.com</a>> wrote:<br></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"></blockquote></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">




<div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
No. You are right. I should. I will try to soon.</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
I don't remember if I ran them years ago when I wrote the C backend, but I have not been running them recently.</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
That said, it does all work pretty well. The system does build itself completely, and debuggability exceeds that of the integrated backend and I think Darwin. <span id="m_-1080038098875661542gmail-m_-5494583730986206370🙂" style="font-family:Calibri,Helvetica,sans-serif">🙂</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
 - Jay</div>
<div>
<div id="m_-1080038098875661542gmail-m_-5494583730986206370appendonsend"></div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<hr style="display:inline-block;width:98%">
<div id="m_-1080038098875661542gmail-m_-5494583730986206370divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><b style="font-family:Calibri,sans-serif">From:</b> Rodney M. Bates <<a href="mailto:rodney_bates@lcwb.coop" target="_blank" style="font-family:Calibri,sans-serif">rodney_bates@lcwb.coop</a>><br>
<b style="font-family:Calibri,sans-serif">Sent:</b> Friday, February 26, 2021 6:40 PM<br>
<b style="font-family:Calibri,sans-serif">To:</b> m3devel <<a href="mailto:m3devel@elegosoft.com" target="_blank" style="font-family:Calibri,sans-serif">m3devel@elegosoft.com</a>>; Jay <<a href="mailto:jay.krell@cornell.edu" target="_blank" style="font-family:Calibri,sans-serif">jay.krell@cornell.edu</a>><br>
<b style="font-family:Calibri,sans-serif">Subject:</b> Compiler tests</font>
<div> </div>
</div>
<div><font size="2" style="color:rgb(0,0,0)"><span style="font-size:11pt">
<div>Jay, you have mentioned a couple of times suspecting a bug in the<br>
C backend, as well as others.  Are you periodically running the<br>
scripted compiler tests?  They can help a lot.<br>
<br>
<br>
-- <br>
Rodney Bates<br>
<a href="mailto:rodney.m.bates@acm.org" target="_blank">rodney.m.bates@acm.org</a><br>
</div>
</span></font></div>
</div>
</div></blockquote></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">

_______________________________________________<br>
M3devel mailing list<br>
<a href="mailto:M3devel@elegosoft.com" target="_blank">M3devel@elegosoft.com</a><br>
<a href="https://m3lists.elegosoft.com/mailman/listinfo/m3devel" rel="noreferrer" target="_blank">https://m3lists.elegosoft.com/mailman/listinfo/m3devel</a><br>
</blockquote></div>
</blockquote></div></div>