Related articles |
---|
Compiler project needed pel@realtime.dk (Per Olesen) (2000-02-22) |
Re: Compiler project needed paulyg@clara.net (2000-02-22) |
Re: Compiler project needed dstarner98@aasaa.ofe.org (2000-02-22) |
Re: Compiler project needed cbrtjr@ix.netcom.com (Charles E. Bortle, Jr.) (2000-02-22) |
Re: Compiler project needed torbenm@diku.dk (2000-02-22) |
Re: Compiler project needed escargo@mirage.skypoint.com (2000-02-23) |
Re: Compiler project needed sasulzer@seanet.com (Stephen Sulzer) (2000-02-23) |
Re: Compiler project needed jkahrs@castor.atlas.de (Juergen Kahrs) (2000-02-23) |
Re: Compiler project needed danwang+news@cs.princeton.edu (Daniel C. Wang) (2000-02-27) |
[8 later articles] |
From: | dstarner98@aasaa.ofe.org (David Starner) |
Newsgroups: | comp.compilers |
Date: | 22 Feb 2000 09:28:04 -0500 |
Organization: | Oklahoma State University |
References: | 00-02-112 |
Keywords: | design |
On 22 Feb 2000 00:02:35 -0500,
Per Olesen <pel@realtime.dk> wrote:
>I'm studying computer science on a Danish university and I'm going to
>write a compiler as a project in a course I'm taking.
Some ideas, assuming you want it to be interesting to someone else
after you're done.
*** From ***
Modula 3 seems to be a language in search of a nice portable compiler.
If you can make CVSup compile easier or on more platforms, it will be
appreciated. (A M3toAda compiler is my current project for my course.)
Interesting (not currently useful) procedural languages are Algol 60,
Algol 68, Algol W, and PL/I. Jovial is another one with intersting
history, but finding data on it is hard. Red, Blue(?) and Yellow(?)
lost to Green for the title of Ada - implementing one of them could
provide an intersting historical perspective on what we won and lost
when Green won. (Again data is hard to find.) (If someone could point
us to an Internet site with information on Jovial or the 3 would-be
Ada's, I'd be greatly appreciative.)
Standard ML might be another intersting language to compile.
Looking through Advanced Programming Language Design (by Raphael
A. Finkel) (a very cool book) lists CSP, DP, Gedanken, Io, and Post as
unimplemented (with cavets on CSP and Post.) Of course, there's
reasons most of those have not been implemented, usually having to do
with being unusual and hard to implement.
*** To ***
JVM and C are both currently popular targets, for good reason. MMIX
might be another good target, depending on how pragmatic you
are. (MMIX is Knuth's new theoritical assembly language for TAOCP.) I
would think Ada or C++ or the likes would be nice to compile to if you
needed exception support and other funky stuff.
A cool hack would be to compile upwards; e.g. compile C into ML or
Lisp, or something similarly audacious. (A reasonable implementation
would certainly impress me.)
The GNU Task for Programming Languages
http://www.gnu.org/prep/tasks_11.html
has some suggestions. These break down into two groups - the procedural
languages (Fortran 90, Modula 3, Cobol, PL/I, etc.) as GCC frontends, and
the more interesting Foo (Perl, Python, Javascript, TCL, etc.) -> Scheme
compilers.
--
David Starner - dstarner98@aasaa.ofe.org
Return to the
comp.compilers page.
Search the
comp.compilers archives again.