problems with the ffi

2002-11-10 Thread David Abbs








I am having problems with the ghc ffi, I have compiled the Haskell
source on the ffi example page to create the stub file and the c file, the only
problem now is that I cant compile the sample c code. I assume that if
you place the c code and all the files in the ghc include directory that it
should compile. However I am getting errors, to begin I
get something like cant find stint.h when it
is definitely present. Then I get errors with the special Haskell ffi
procedures i.e. startupHaskell(argc, argv,
__stginit_Foo). The compiler says that this is an
unresolved external symbol.



I am attempting this on windows xp
using visual c++ 5. Any help would be greatly appreciated.







David Abbs 3rd Year Computer Science University Of Sheffield

[EMAIL PROTECTED]













MD5 in Haskell

2002-11-10 Thread Peter Thiemann
Folks,

there used to be a Haskell implementation of MD5 and other cryptographic 
hashes available on
http://c93.keble.ox.ac.uk/~ian/haskell/
Unfortunately, this URL seems to be obsolete (I cannot access it and it 
does not come up in Google anymore).
If anybody out there still holds on to a copy of this, please send it to me!

-Peter


___
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell


Announcement: Alex has a new home

2002-11-10 Thread Chris Dornan
 Announcement: Alex under new license and management.

Alex, the Haskell-based scanner-generator, has been relicensed with a BSD-style 
license (it was under the GPL) in preparation for integration with Happy, the 
Haskell-based parser generator.  Isaac Jones has kindly and heroically 
undertaken this task of integrating the two packages.

As the two packages work quite well as they are it is expected that the first 
release of the combined packages will do little more than bundle them together, 
but we have ambitions to go further, and to better adapt the run-time behaviour 
of Alex-generated scanners to suit the big Haskell compilers such as GHC.

Until the integration has been completed the new home for Alex is

	http://www.syntaxpolice.org/~ijones/alex/

Please email Isaac ([EMAIL PROTECTED]) if you have any queries.

Cheers,

Chris Dornan
[EMAIL PROTECTED]

___
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell


New Strafunski packages released

2002-11-10 Thread Ralf Laemmel
New Strafunski packages released


Strafunski is a Haskell-centred bundle that provides
support for generic programming and language processing.
Strafunski is based on the notion of a functional
strategy --- first-class generic functions that can
traverse into terms while mixing uniform and type-specific
behaviour.

This is the 3rd release of Strafunski with the following
improvements:

- StrategyLib extended by several themes, e.g., for metrics.
- Added Sdf2Haskell package for mapping syntaxes to datatypes.
- Cobol, Java, and Haskell meta-programming examples included.
- Haskell ATermLib integrated.
- Sample code from the following papers integrated:
  - PADL 2003: A Strafunski application letter
  - RULE 2002: Towards Generic Refactoring
  - WRS  2002: The Sketch of a Polymorphic Symphony
- DrIFT-Strafunski supports a number of additional models.

Documentation, papers, and downloads are now available from:

  http://www.cs.vu.nl/Strafunski

A good entry point for contemporary Strafunski is:

  A Strafunski Application Letter (PADL 2003)
  See http://www.cwi.nl/~ralf/padl03/

It demonstrate that typed functional programming in Haskell,
augmented with Strafunski's support for generic traversal
and external components, is very appropriate for the
development of practical language processors. In particular,
Strafunski is used for Cobol reverse engineering, Java code
metrics, and Haskell re-engineering.

Feedback is very much appreciated,
and can be directed to the authors:

  * Ralf Laemmel([EMAIL PROTECTED])
  * Joost Visser([EMAIL PROTECTED])

Have fun!
___
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell