Haskell is a functional language (like Scheme or ML), thus it needs support for things like closures and continuations. This also means that having an interpreter to provide higher level feature like memoizing thunks is very useful. Haskell does not provide direct memory manipulation (which is the problem with C). It also has some nifty stuff with lazy evaluation that would not be too difficult to wrap in a pmc.
So there in a nut shell is why Haskell would play well with Parrot. If you wanted more specifics about Haskell itself, I would suggest poking around online.
Matt
Gerald E Butler wrote:
Could you please give a little more insight on Haskell and why it is/would be so good? I've never heard of it.
On Mon, 2004-03-22 at 14:23, Matt Fowles wrote:
All~
If I recall correctly, GCC supports Haskell, which is an ideal language for Parrot.
Matt
Simon Glover wrote:
On Mon, 22 Mar 2004, Butler, Gerald wrote:
The important point is that the starting language must have semantics which treat variables, object, etc. as abstract entities to be manipulated not *memory locations* to be accessed arbitrarily. Then, the parse stage must spit
This requirement probably means that Fortran is a non-starter, as a number of its features (equivalence, common blocks) do rely on a specific layout of variables in memory.
Simon