Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnome.org>2001-08-06 21:58:24 +0400
committerMiguel de Icaza <miguel@gnome.org>2001-08-06 21:58:24 +0400
commit2231eaa24780a6cfcf70abf5273e7d2920cc409c (patch)
tree861d9a2d1aaf877dea77905a4fab5084e29b3681 /web/c-sharp
parentd2bc65903b2338f5cd59f2076f62d55ceb61d17b (diff)
Update on the FAQ
svn path=/trunk/mono/; revision=416
Diffstat (limited to 'web/c-sharp')
-rw-r--r--web/c-sharp60
1 files changed, 49 insertions, 11 deletions
diff --git a/web/c-sharp b/web/c-sharp
index 78c4284d5aa..c11225d07e9 100644
--- a/web/c-sharp
+++ b/web/c-sharp
@@ -71,17 +71,6 @@
might have more information)
</ul>
- Critical tasks:
-
- <ul>
- * Resolve "base" classes and "base" interfaces for
- classes, structs and interfaces.
-
- Once this is done, we can actually do the semantic
- analysis, because otherwise we do not know who our
- parents are.
- </ul>
-
Interesting and Fun hacks to the compiler:
<ul>
@@ -144,5 +133,54 @@ A: No, currently I am using Jay which is a port of Berkeley Yacc to
In the future I want to port one of the Bison/Java ports to C# for
the parser.
+Q: Should someone work on a GCC front-end to C#?
+
+A: I would love if someone does, and we would love to help anyone that
+ takes on that task, but we do not have the time or expertise to
+ build a C# compiler with the GCC engine. I find it a lot more fun
+ personally to work on C# on a C# compiler, which has an intrinsic
+ beauty.
+
+ We can provide help and assistance to anyone who would like to work
+ on this task.
+
+Q: Should someone make a GCC backend that will generate CIL images?
+
+A: I would love to see a backend to GCC that generates CIL images. It
+ would provide a ton of free compilers that would generate CIL
+ code. This is something that people would want to look into
+ anyways for Windows interoperation in the future.
+
+ Again, we would love to provide help and assistance to anyone
+ interested in working in such a project.
+
+Q: What about making a front-end to GCC that takes CIL images and
+ generates native code?
+
+A: I would love to see this, specially since GCC supports this same
+ feature for Java Byte Codes. You could use the metadata library
+ from Mono to read the byte codes (ie, this would be your
+ "front-end") and generate the trees that get passed to the
+ optimizer.
+
+ Ideally our implementation of the CLI will be available as a shared
+ library that could be linked with your application as its runtime
+ support.
+
+ Again, we would love to provide help and assistance to anyone
+ interested in working in such a project.
+
+Q: But would this work around the GPL in the GCC compiler and allow
+ people to work on non-free front-ends?
+
+A: People can already do this by targeting the JVM byte codes (there
+ are about 130 compilers for various languages that target the JVM).
+
+Q: Why are you writing a JIT engine instead of a front-end to GCC?
+
+A: The JIT engine and runtime engine will be able to execute CIL
+ executables generated on Windows.
+
+
You might also want to look at the <a href="faq.html#gcc">GCC</a>
section on the main FAQ