[Haskell-cafe] Haskell programs in C

2005-01-25 Thread Dmitri Pissarenko
Hello! Imagine I wrote a program in Haskell and want to use it on a microcontroller device. AFAIK, Haskell programs are first converted to C code and then compiled by gcc. Is it possible (at least theoretically) to write a program in Haskell, then convert it into C and then compile the C

Re: [Haskell-cafe] Haskell programs in C

2005-01-25 Thread Mark Carroll
On Tue, 25 Jan 2005, Dmitri Pissarenko wrote: Is it possible (at least theoretically) to write a program in Haskell, then convert it into C and then compile the C program into an executable, which is optimized for the microcontroller? I would guess so. Wasn't there someone mentioning here a

Re: [Haskell-cafe] Haskell programs in C

2005-01-25 Thread Ben Rudiak-Gould
Mark Carroll wrote: Wasn't there someone mentioning here a little while ago some project where they strip most of System.* from the libraries and get something that might be suitable for embedded applications? What was that called? Anyone remember? hOp: http://www.macs.hw.ac.uk/~sebc/hOp/ --

Re: [Haskell-cafe] Haskell programs in C

2005-01-25 Thread Peter G. Hancock
Ben Rudiak-Gould wrote (on Tue, 25 Jan 2005 at 14:49): Mark Carroll wrote: Wasn't there someone mentioning here a little while ago some project where they strip most of System.* from the libraries and get something that might be suitable for embedded applications? What was