-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add scripting integration for haskell #12
Comments
Better alternative: https://github.com/Frege/frege-interpreter Call Java from Frege: blocker: Frege/frege-interpreter#36 (comment) (fixed) Repl with: https://learnyouahaskell.com/introduction Frege ScriptEngine has a few flaws:
|
Won't do since ScriptEngines don't work for In-JVM usage. Could introduce a REPL based binding (which should also work for vanilla haskell "ghci"), but this would be in a separate project, not in invesdwin-context. |
GHCI interpreter: https://stackoverflow.com/a/2144410 arch install "cabal-install" and "ghc-static" cabal update $ ghci
|
hGetLine to read a line from a socket: https://stackoverflow.com/questions/25040884/hgetcontents-vs-hgetline hPutStrLn to write to socket |
we need to use file communication
Frege file reading: Haskell file reading: |
handling read errors and retrying after a sleep: https://scrapingant.com/blog/web-scraping-haskell#handling-errors-and-rate-limiting frege interpreter: Frege/frege-repl#56 |
https://eta-lang.org/
Unsuitable because there is no ScriptEngine in eta: typelead/eta#466
The text was updated successfully, but these errors were encountered: