HaskellScript previous home next  
lambda ObjectScript
HaskellScript
  Documentation
  Download
  Questions
  History
  Acknowledgements

HaskellAgent
HaskellDirect
HaskellObject
  Example
  Documentation
ScriptServer
  Interface

ObjectScript is used to create COM components in Haskell. It is a `glue' component that can expose Haskell scripts (or any other language with a scriptserver interface) as Automation objects (Automation objects are COM objects that use dynamic binding).

Haskell objects behave just like normal COM objects and a client doesn't need to know at all that the component was written in Haskell. Since Visual Basic and Java use automation as their basic COM interface, it is very easy to integrate with these languages, allthough any COM compatible client can use Haskell objects.

ObjectScript ships with HaskellScript. Examples can be found in the demos\hscript\objectscript directory. Examples with both Visual Basic and Java are included. The examples are described on the next page.

 
previous home next