Re: Language features for compiler writing was: Java compiler courses

Jon Harrop <jon@ffconsultancy.com>
28 Apr 2007 23:28:35 -0400

          From comp.compilers

Related articles
Java compiler courses wookiz@hotmail.com (wooks) (2007-04-20)
Re: Java compiler courses DrDiettrich1@aol.com (Hans-Peter Diettrich) (2007-04-23)
Re: Java compiler courses torbenm@app-7.diku.dk (2007-04-26)
Language features for compiler writing was: Java compiler courses cfc@shell01.TheWorld.com (Chris F Clark) (2007-04-27)
Re: Language features for compiler writing was: Java compiler courses torbenm@app-2.diku.dk (2007-04-27)
Re: Language features for compiler writing was: Java compiler courses DrDiettrich1@aol.com (Hans-Peter Diettrich) (2007-04-27)
Re: Language features for compiler writing was: Java compiler courses la@iki.fi (Lauri Alanko) (2007-04-28)
Re: Language features for compiler writing was: Java compiler courses jon@ffconsultancy.com (Jon Harrop) (2007-04-28)
Re: Language features for compiler writing was: Java compiler courses DrDiettrich1@aol.com (Hans-Peter Diettrich) (2007-04-28)
Re: Language features for compiler writing was: Java compiler courses danwang74@gmail.com (Daniel C. Wang) (2007-04-28)
Re: Language features for compiler writing was: Java compiler courses s.r.clarkstone@durham.ac.uk (Simon Richard Clarkstone) (2007-04-29)
Re: Language features for compiler writing was: Java compiler courses torbenm@app-5.diku.dk (2007-05-04)
Re: Language features for compiler writing was: Java compiler courses dot@dotat.at (Tony Finch) (2007-05-04)
| List of all articles for this month |

From: Jon Harrop <jon@ffconsultancy.com>
Newsgroups: comp.compilers,comp.lang.functional
Followup-To: comp.compilers
Date: 28 Apr 2007 23:28:35 -0400
Organization: Flying Frog Consultancy Ltd.
References: 07-04-074 07-04-084 07-04-109 07-04-125 07-04-134
Keywords: functional, design
Posted-Date: 28 Apr 2007 23:28:35 EDT

Torben Ęgidius Mogensen wrote:
> Chris F Clark <cfc@shell01.TheWorld.com> writes:
>> You can get polymorphism, by using C++ as your C. You should be able
>> to get pattern matching from your compiler-compiler (or other) add-on
>> tool. I don't know that you can in many cases, but you should be able
>> to get it, and if you can't that's a fault in the tool chain.
>
> These are all true, but I find that "it's not in the language, but
> external tools might/do have it" is not a very good defense for a
> language.


Absolutely. If you're teaching compilers, the last thing you need is
the language getting in the way. The ML family of languages allow
compilers to be expressed succinctly and elegantly compared to
C/C++/Java etc.


--
Dr Jon D Harrop, Flying Frog Consultancy
The F#.NET Journal
http://www.ffconsultancy.com/products/fsharp_journal/?usenet



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.