
Somebody works with together FORTRAN and Haskell. Exists some funcao to transform codigo FORTRAN into codigo HASKELL? Thanks, Allan Bruno __________________________________________________________________________ AcessoBOL, só R$ 9,90! O menor preço do mercado! Assine já! http://www.bol.com.br/acessobol

--- clusterpoli
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

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

Hi,
your e-mail message looks as if it got stuck in a queue
somewhere, but just in case you didn't see this,
http://haskell.org/pipermail/glasgow-haskell-users/2001-December/001249.html
has got details of how to do this without going via C.
hth
--sigbjorn
----- Original Message -----
From: "Cluster"
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
To: clusterpoli ; Sent: Thursday, November 29, 2001 11:07 PM Subject: Re: FORTRAN and HASKELL 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
_______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
participants (4)
-
Christopher Milton
-
Cluster
-
clusterpoli
-
Sigbjorn Finne