"Sean O'Dell" <sean / celsoft.com> writes:

> On Tuesday 13 July 2004 14:27, Florian Gross wrote:
>> Sean O'Dell wrote:
>> > Here's a question: are "pure" functional programming languages
>> > implemented according to their own rules?  Internally, do they also never
>> > use variables? My guess is: no, or almost never.  They break the rules
>> > internally to provide an interface that adheres to the rules.
>>
>> It depends. Functional languages implemented in functional languages
>> will be written in a functional style of course. C is no functional
>> language, but most function language interpreters are written in C where
>> you have so many side effects that you *have* to capture different
>> states into variables.
>
> But how are they usually implemented?  In ASM, C, ... ?

GHC, the most popular compiler for Haskell, is written in Haskell.

  mikael