
Hello GHC users,
We want to reuse FORTRAN libraries within Haskell code. How can we use FFI
to implement this interface directly ? We know that we can use C to
implement it indirectly with FFI, but how can we do this directly ? Any
suggestion ?
Thanks,
Heron de Carvalho
----- Original Message -----
From: Christopher Milton
AcessoBOL, só R$ 9,90! O menor preço do mercado! Assine já! http://www.bol.com.br/acessobol/
--- clusterpoli
wrote: Somebody works with together FORTRAN and Haskell. Exists some funcao to transform codigo FORTRAN into codigo HASKELL?
TXL might help, but it's its own functional language. It can probably convert FORTRAN to Haskell given the EBNF for each language, but I'm not sure how it works... http://www.research.avayalabs.com/user/wadler/realworld/ls2000.html http://gatekeeper.dec.com/pub/misc/txl/
Otherwise, I would look at what algorithm the FORTRAN is implementing, the either write it in Haskell, or look for it on the Internet using http://www.google.com/
For example: http://www.cs.chalmers.se/pub/haskell/library/ http://www.cs.chalmers.se/pub/haskell/library/bevan/index
__________________________________________________ Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1
_______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users