[Haskell-cafe] G machine in FORTH

2005-06-01 Thread Andrew Harris
Hi - Brace yourself... I work in an environment where FORTH is still used. I've been thinking about writing a G-machine interpreter in FORTH so that one could write Haskell like programs that would compile down and run graph-reduction style on the FORTH machine. Many developers think

Re: [Haskell-cafe] G machine in FORTH

2005-06-01 Thread karczma
Andrew Harris writes: Brace yourself... I work in an environment where FORTH is still used. I've been thinking about writing a G-machine interpreter in FORTH so that one could write Haskell like programs that would compile down and run graph-reduction style on the FORTH machine. let

Re: [Haskell-cafe] G machine in FORTH

2005-06-01 Thread Krasimir Angelov
Actually I am very impressed from the FORTH simplicity and efficiency. I was developing one FORTH system for DOS a couple of years ago and I think it is very useful for small programs that have to perform low level/hardware tasks. Unfortunatelly it doesn't scale well for larger applications. I

Re: [Haskell-cafe] G machine in FORTH

2005-06-01 Thread Michael Vanier
I always thought Forth was way cool, but I've never managed to get anything significant written in it. I think that Forth has echoes of the point-free style in Haskell, but Haskell is a lot friendlier. Is the Forth environment part of the hardware? If your Forth is just a threaded interpreter

Re: [Haskell-cafe] G machine in FORTH

2005-06-01 Thread Dimitry Golubovsky
Andrew Harris wrote: I've been thinking about writing a G-machine interpreter in FORTH so that one could write Haskell like programs that would compile down and run graph-reduction style on the FORTH machine. Many developers think FORTH is nice, but the language is so, shall we say,