[m-rev.] diff: update the compiler design document
Julien Fischer
jfischer at opturion.com
Mon Sep 14 14:02:45 AEST 2015
Update the compiler design document.
compiler/notes/compiler_design.html:
Delete a reference to the GCC backend.
Document the module used by the C# backend.
Add a missing space in a spot.
diff --git a/compiler/notes/compiler_design.html b/compiler/notes/compiler_design.html
index a937feb..c1c496c 100644
--- a/compiler/notes/compiler_design.html
+++ b/compiler/notes/compiler_design.html
@@ -675,7 +675,7 @@ The HLDS data structure itself is spread over the following modules:
<li>
const_struct.m defines the part of the HLDS concerning constant structures.
<li>
- hlds_pred.m defines the part of the HLDSconcerning
+ hlds_pred.m defines the part of the HLDS concerning
predicates and procedures;
<li>
pred_table.m defines the tables that index predicates and functions
@@ -2036,9 +2036,9 @@ Thus we have a pass which transforms the HLDS to handle trailing:
<p>
There are currently four backends that generate code from MLDS:
one generates C/C++ code,
-one generates assembler (by interfacing with the GCC back-end),
one generates Microsoft's Intermediate Language (MSIL or IL),
-and one generates Java.
+one generates Java,
+and one generates C#.
<ul>
<li>
@@ -2078,6 +2078,15 @@ The MLDS->Java backend is broken into two submodules.
After the Java code has been emitted, a Java compiler (normally javac)
is invoked to turn the .java file into a .class file containing Java bytecodes.
+<p>
+
+<ul>
+<li>mlds_to_cs.m converts MLDS to C# code.
+</ul>
+
+After the C# code has been emitted, a C# compiler is invoked to turn the .cs
+file into a .dll or .exe.
+
<hr>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
More information about the reviews
mailing list