Re: Writing Compilers in Functional Languages

Robert A Duff <bobduff@shell01.TheWorld.com>
28 Apr 2005 14:29:26 -0400

          From comp.compilers

Related articles
Writing Compilers in Functional Languages onlyafly@gmail.com (Kkaa) (2005-04-26)
Re: Writing Compilers in Functional Languages bobduff@shell01.TheWorld.com (Robert A Duff) (2005-04-28)
Re: Writing Compilers in Functional Languages stephen@dino.dnsalias.com (2005-04-28)
Re: Writing Compilers in Functional Languages cm.abo@aktivanet.de (Christian Mueller) (2005-04-28)
Re: Writing Compilers in Functional Languages torbenm@diku.dk (2005-04-28)
Re: Writing Compilers in Functional Languages arthurvl+news@cs.uu.nl (Arthur van Leeuwen) (2005-04-28)
Re: Writing Compilers in Functional Languages tarvydas@allstream.net (Paul Tarvydas) (2005-04-28)
Re: Writing Compilers in Functional Languages neelk@cs.cmu.edu (Neelakantan Krishnaswami) (2005-04-28)
[6 later articles]
| List of all articles for this month |

From: Robert A Duff <bobduff@shell01.TheWorld.com>
Newsgroups: comp.compilers
Date: 28 Apr 2005 14:29:26 -0400
Organization: The World Public Access UNIX, Brookline, MA
References: 05-04-068
Keywords: functional
Posted-Date: 28 Apr 2005 14:29:26 EDT

"Kkaa" <onlyafly@gmail.com> writes:


> I've written a few compilers and interpreters in procedural and
> object-oriented languages (in particular Java, C, C++, and C#), and
> these seem to be popular choices, but I would like to write my next
> one in a functional language. Every compiler text I've read assumes
> that you are writing your compiler in a procedural or OO language.
> Are there any books or online resources that instead focus on using
> functional languages as implementation languages? I'm considering
> using Haskell or Scheme, but I'm hoping that the resources won't
> assume a particular functional langauge.


Andrew Appel wrote a compiler book that uses ML as the example
implementation language:


http://www.cs.princeton.edu/~appel/modern/ml/


- Bob



Post a followup to this message

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