[Mono-list] Questions mostly about IL asembler
Nick Drochak
ndrochak@gol.com
Thu, 2 Aug 2001 09:45:58 +0900
This is a multi-part message in MIME format.
------=_NextPart_000_0008_01C11B37.EEEF5CA0
Content-Type: text/plain;
charset="utf-8"
Content-Transfer-Encoding: quoted-printable
I am trying to come up to speed on this project and I have a few of =
questions:
=20
1) When referring to IL byte code files, are we talking about =
human-readable text files with =E2=80=9C.assembly=E2=80=9D, =
=E2=80=9C.entrypoint=E2=80=9D, etc. commands in them?=C2=A0 Is this what =
the IL assembler would parse and =E2=80=9Ccompile=E2=80=9D into a PE =
file?=C2=A0 The PE file would contain binary data (just like =
exe=E2=80=99s and dll=E2=80=99s now) that would not be human =
readable?=C2=A0 Am I understanding this correctly?
2) Miguel, you want the IL assembler to be written in C#?=C2=A0 If =
this is true, are there any parts of the C# tokenizer or compiler that =
can be re-used for that?=C2=A0=20
3) You used your port of Jay for the C# compiler, but on the =
website you say you want to move to Bison. However, Bison can only =
produce C or C++ files right now.=C2=A0 Which do you prefer, using Jay =
for Ilasm now, or waiting for some other Bison/C# solution?
4) I take it from other posts that Portable.net=E2=80=99s ilsam =
solution is not appropriate for Mono?=C2=A0 Why is that, or have I =
misunderstood?
=20
Thanks,
Nick
------=_NextPart_000_0008_01C11B37.EEEF5CA0
Content-Type: text/html;
charset="utf-8"
Content-Transfer-Encoding: quoted-printable
<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3DContent-Type content=3D"text/html; charset=3Dutf-8">
<meta name=3DProgId content=3DWord.Document>
<meta name=3DGenerator content=3D"Microsoft Word 9">
<meta name=3DOriginator content=3D"Microsoft Word 9">
<link rel=3DFile-List href=3D"cid:filelist.xml@01C11B37.EECDF1F0">
<!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:DoNotRelyOnCSS/>
</o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:DocumentKind>DocumentEmail</w:DocumentKind>
<w:EnvelopeVis/>
<w:Compatibility>
<w:UseFELayout/>
</w:Compatibility>
</w:WordDocument>
</xml><![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"MS Mincho";
panose-1:2 2 6 9 4 2 5 8 3 4;
mso-font-alt:"=EF=BC=AD=EF=BC=B3 =E6=98=8E=E6=9C=9D";
mso-font-charset:128;
mso-generic-font-family:modern;
mso-font-pitch:fixed;
mso-font-signature:-1610612033 1757936891 16 0 131231 0;}
@font-face
{font-family:AvantGarde;
panose-1:0 0 0 0 0 0 0 0 0 0;
mso-font-charset:0;
mso-generic-font-family:swiss;
mso-font-format:other;
mso-font-pitch:variable;
mso-font-signature:3 0 0 0 1 0;}
@font-face
{font-family:"\@MS Mincho";
panose-1:2 2 6 9 4 2 5 8 3 4;
mso-font-charset:128;
mso-generic-font-family:modern;
mso-font-pitch:fixed;
mso-font-signature:-1610612033 1757936891 16 0 131231 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0mm;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:11.0pt;
mso-bidi-font-size:12.0pt;
font-family:AvantGarde;
mso-fareast-font-family:"MS Mincho";
mso-bidi-font-family:"Times New Roman";
mso-fareast-language:JA;}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;
text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;
text-underline:single;}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
{margin:0mm;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:11.0pt;
mso-bidi-font-size:12.0pt;
font-family:AvantGarde;
mso-fareast-font-family:"MS Mincho";
mso-bidi-font-family:"Times New Roman";
mso-fareast-language:JA;}
span.EmailStyle18
{mso-style-type:personal;
mso-ansi-font-size:10.0pt;
mso-ascii-font-family:Arial;
mso-hansi-font-family:Arial;
mso-bidi-font-family:Arial;
color:black;}
span.EmailStyle19
{mso-style-type:personal-reply;
mso-ansi-font-size:10.0pt;
mso-ascii-font-family:Arial;
mso-hansi-font-family:Arial;
mso-bidi-font-family:Arial;
color:navy;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;
mso-header-margin:36.0pt;
mso-footer-margin:36.0pt;
mso-paper-source:0;}
div.Section1
{page:Section1;}
/* List Definitions */
@list l0
{mso-list-id:815224252;
mso-list-type:hybrid;
mso-list-template-ids:2012806394 67698705 67698713 67698715 67698703 =
67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
{mso-level-text:"%1\)";
mso-level-tab-stop:36.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;}
ol
{margin-bottom:0mm;}
ul
{margin-bottom:0mm;}
-->
</style>
</head>
<body lang=3DEN-US link=3Dblue vlink=3Dpurple =
style=3D'tab-interval:36.0pt'>
<div class=3DSection1>
<p class=3DMsoNormal><span class=3DEmailStyle18><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'>I am trying to come up to speed on this project and I have a few =
of
questions:<o:p></o:p></span></font></span></p>
<p class=3DMsoNormal><span class=3DEmailStyle18><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'><![if =
!supportEmptyParas]> <![endif]><o:p></o:p></span></font></span></p>
<p class=3DMsoNormal =
style=3D'margin-left:36.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo2;
tab-stops:list 36.0pt'><![if !supportLists]><span =
class=3DEmailStyle18><font
size=3D2 color=3Dblack face=3DAvantGarde><span =
style=3D'font-size:11.0pt;mso-ansi-font-size:
11.0pt;mso-ascii-font-family:AvantGarde;mso-hansi-font-family:AvantGarde;=
mso-bidi-font-family:"Times New =
Roman";color:black;mso-color-alt:windowtext'>1)<font
size=3D1 face=3D"Times New Roman"><span style=3D'font:7.0pt "Times New =
Roman"'>
</span></font></span></font></span><![endif]><span =
class=3DEmailStyle18><font
size=3D2 color=3Dblack face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:Arial'>When referring to IL byte code files, are we =
talking
about human-readable text files with =E2=80=9C.assembly=E2=80=9D, =
=E2=80=9C.entrypoint=E2=80=9D, etc. commands
in them?<span style=3D"mso-spacerun: yes">=C2=A0 </span>Is this what the =
IL assembler would
parse and =E2=80=9Ccompile=E2=80=9D into a PE file?<span =
style=3D"mso-spacerun: yes">=C2=A0 </span>The
PE file would contain binary data (just like exe=E2=80=99s and =
dll=E2=80=99s now) that would
not be human readable?<span style=3D"mso-spacerun: yes">=C2=A0 </span>Am =
I
understanding this correctly?</span></font></span><span =
class=3DEmailStyle18><font
color=3Dblack><span =
style=3D'mso-ansi-font-size:11.0pt;mso-ascii-font-family:AvantGarde;
mso-hansi-font-family:AvantGarde;mso-bidi-font-family:"Times New Roman";
color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></span></p=
>
<p class=3DMsoNormal =
style=3D'margin-left:36.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo2;
tab-stops:list 36.0pt'><![if !supportLists]><span =
class=3DEmailStyle18><font
size=3D2 color=3Dblack face=3DAvantGarde><span =
style=3D'font-size:11.0pt;mso-ansi-font-size:
11.0pt;mso-ascii-font-family:AvantGarde;mso-hansi-font-family:AvantGarde;=
mso-bidi-font-family:"Times New =
Roman";color:black;mso-color-alt:windowtext'>2)<font
size=3D1 face=3D"Times New Roman"><span style=3D'font:7.0pt "Times New =
Roman"'>
</span></font></span></font></span><![endif]><span =
class=3DEmailStyle18><font
size=3D2 color=3Dblack face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:Arial'>Miguel, you want the IL assembler to be =
written in
C#?<span style=3D"mso-spacerun: yes">=C2=A0 </span>If this is true, are =
there any
parts of the C# tokenizer or compiler that can be re-used for that?<span
style=3D"mso-spacerun: yes">=C2=A0 </span></span></font></span><span
class=3DEmailStyle18><font color=3Dblack><span =
style=3D'mso-ansi-font-size:11.0pt;
mso-ascii-font-family:AvantGarde;mso-hansi-font-family:AvantGarde;mso-bid=
i-font-family:
"Times New =
Roman";color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></s=
pan></p>
<p class=3DMsoNormal =
style=3D'margin-left:36.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo2;
tab-stops:list 36.0pt'><![if !supportLists]><span =
class=3DEmailStyle18><font
size=3D2 color=3Dblack face=3DAvantGarde><span =
style=3D'font-size:11.0pt;mso-ansi-font-size:
11.0pt;mso-ascii-font-family:AvantGarde;mso-hansi-font-family:AvantGarde;=
mso-bidi-font-family:"Times New =
Roman";color:black;mso-color-alt:windowtext'>3)<font
size=3D1 face=3D"Times New Roman"><span style=3D'font:7.0pt "Times New =
Roman"'>
</span></font></span></font></span><![endif]><span =
class=3DEmailStyle18><font
size=3D2 color=3Dblack face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:Arial'>You used your port of Jay for the C# compiler, =
but on
the website you say you want to move to Bison. However, Bison can only =
produce
C or C++ files right now.<span style=3D"mso-spacerun: yes">=C2=A0 =
</span>Which do you
prefer, using Jay for Ilasm now, or waiting for some other Bison/C# =
solution?</span></font></span><span
class=3DEmailStyle18><font color=3Dblack><span =
style=3D'mso-ansi-font-size:11.0pt;
mso-ascii-font-family:AvantGarde;mso-hansi-font-family:AvantGarde;mso-bid=
i-font-family:
"Times New =
Roman";color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></s=
pan></p>
<p class=3DMsoNormal =
style=3D'margin-left:36.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo2;
tab-stops:list 36.0pt'><![if !supportLists]><span =
class=3DEmailStyle18><font
size=3D2 color=3Dblack face=3DAvantGarde><span =
style=3D'font-size:11.0pt;mso-ansi-font-size:
11.0pt;mso-ascii-font-family:AvantGarde;mso-hansi-font-family:AvantGarde;=
mso-bidi-font-family:"Times New =
Roman";color:black;mso-color-alt:windowtext'>4)<font
size=3D1 face=3D"Times New Roman"><span style=3D'font:7.0pt "Times New =
Roman"'>
</span></font></span></font></span><![endif]><span =
class=3DEmailStyle18><font
color=3Dblack><span =
style=3D'mso-ansi-font-size:11.0pt;mso-ascii-font-family:AvantGarde;
mso-hansi-font-family:AvantGarde;mso-bidi-font-family:"Times New =
Roman"'>I take
it from other posts that Portable.net=E2=80=99s ilsam solution is not =
appropriate for
Mono?<span style=3D"mso-spacerun: yes">=C2=A0 </span>Why is that, or =
have I
misunderstood?</span></font></span><span class=3DEmailStyle18><font =
color=3Dblack><span
style=3D'mso-ansi-font-size:11.0pt;mso-ascii-font-family:AvantGarde;mso-h=
ansi-font-family:
AvantGarde;mso-bidi-font-family:"Times New =
Roman";color:black;mso-color-alt:
windowtext'><o:p></o:p></span></font></span></p>
<p class=3DMsoNormal><span class=3DEmailStyle18><font size=3D2 =
color=3Dblack
face=3DAvantGarde><span =
style=3D'font-size:11.0pt;mso-ansi-font-size:11.0pt;
mso-ascii-font-family:AvantGarde;mso-hansi-font-family:AvantGarde;mso-bid=
i-font-family:
"Times New Roman"'><![if =
!supportEmptyParas]> <![endif]></span></font></span><span
class=3DEmailStyle18><font color=3Dblack><span =
style=3D'mso-ansi-font-size:11.0pt;
mso-ascii-font-family:AvantGarde;mso-hansi-font-family:AvantGarde;mso-bid=
i-font-family:
"Times New =
Roman";color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></s=
pan></p>
<p class=3DMsoNormal><span class=3DEmailStyle18><font size=3D2 =
color=3Dblack
face=3DAvantGarde><span =
style=3D'font-size:11.0pt;mso-ansi-font-size:11.0pt;
mso-ascii-font-family:AvantGarde;mso-hansi-font-family:AvantGarde;mso-bid=
i-font-family:
"Times New Roman"'><span =
style=3D'mso-bidi-font-size:12.0pt'>Thanks,</span></span></font></span><s=
pan
class=3DEmailStyle18><font color=3Dblack><span =
style=3D'mso-ansi-font-size:11.0pt;
mso-ascii-font-family:AvantGarde;mso-hansi-font-family:AvantGarde;mso-bid=
i-font-family:
"Times New =
Roman";color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></s=
pan></p>
<p class=3DMsoNormal><span class=3DEmailStyle18><font size=3D2 =
color=3Dblack
face=3DAvantGarde><span =
style=3D'font-size:11.0pt;mso-ansi-font-size:11.0pt;
mso-ascii-font-family:AvantGarde;mso-hansi-font-family:AvantGarde;mso-bid=
i-font-family:
"Times New Roman"'><span =
style=3D'mso-bidi-font-size:12.0pt'>Nick</span></span></font></span><font=
color=3Dblack><span =
style=3D'color:black;mso-color-alt:windowtext'><o:p></o:p></span></font><=
/p>
</div>
</body>
</html>
------=_NextPart_000_0008_01C11B37.EEEF5CA0--