[clean-list] Extending Clean

Tom Whittock tom@shallow.freeserve.co.uk
Sat, 13 Jul 2002 11:59:25 +0100


Hi there,
I've recently started getting interested in Clean, and functional
programming in general. I'd now like to start using Clean for some personal
projects. To do this, I'll need to write some libraries that interface with
Clean. Specifically, a MIDI/DirectMusic interface and, if I work out how to
interface with ObjectIO properly, a multiple document graphics display
library.

To that end, I'd like to ask for some information or pointers to information
on how to interface with Clean - object file formats, calling conventions,
valid parameter types, data alignment, the runtime evironment DLL, other
compiler restrictions I'll need to comply with, and all the other horrible
low-level things I'd hoped to leave behind forever :)

Actually, for the graphic interface I was thinking of using the game library
that is included in the Clean distribution. That seems to be a great
interface, but it seems limited to being a full screen system, with no
support for multiple document interfaces. Is this the case? Obviously, I
could create virtual screens within the screen, but I would prefer to have
my application appear as a 'normal' application to the user.

Any help or thoughts would be appreciated,
Tom Whittock