You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, it would be great that hie-bios could work with other compilers than ghc, concretely, the ghc forks that compile to another targets than native code: eta for jvm bytecode anf ghcjs to javascript.
Not sure if it could be done without changing too much the actual code but i hope it is possible, being both forks of ghc. The tool to start a repl with ghcjs could be cabal itself and for eta the specific fork of cabal, etlas.
As projects usually could be compiled by ghc and the other ones probably a explicit cradle config would be needed. In the case of eta the presence of the specific config file <project>.etlas or etlas.dhall could be used for that.
That could open the use of those compilers in the tools using hie-bios.
The text was updated successfully, but these errors were encountered:
The extraction of ghc call params could be relatively easy to do for eta/etlas (simply replacing cabal with etlas in the call and the wrapper)
Extract the params for ghcjs seems to be difficult cause there is no ghcjsi and cabal dont ever call ghcjs with cabal --ghcjs v2-repl
The code under src/hie/Bios/ghc should be updated (or new code under src/hie/Bios/eta and src/hie/Bios/ghcjs) to call eta/ghcjs with cpp conditions and the package would depend on eta and ghcjs as dependencies
So maybe that would be out of scope of hie-bios... 😟
Hi, it would be great that
hie-bios
could work with other compilers thanghc
, concretely, theghc
forks that compile to another targets than native code:eta
for jvm bytecode anfghcjs
to javascript.Not sure if it could be done without changing too much the actual code but i hope it is possible, being both forks of
ghc
. The tool to start a repl withghcjs
could becabal
itself and for eta the specific fork of cabal,etlas
.As projects usually could be compiled by ghc and the other ones probably a explicit cradle config would be needed. In the case of
eta
the presence of the specific config file<project>.etlas
oretlas.dhall
could be used for that.That could open the use of those compilers in the tools using
hie-bios
.The text was updated successfully, but these errors were encountered: