Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Haskell interpreter on Android? [closed]

Is there a Haskell interpreter (with standard libraries) that can be installed on Android?

So that someone with an Android device can do some Haskell exercises on an Android device: write and run some example code in Haskell.

like image 498
imz -- Ivan Zakharyaschev Avatar asked Apr 29 '11 03:04

imz -- Ivan Zakharyaschev


2 Answers

Hugs is written in C and quite portable. It should be possible to port it to Android.

like image 166
augustss Avatar answered Oct 03 '22 21:10

augustss


Taking a note from imz, all you need is

  • ConnectBot or similar
  • A remote machine with
    • Vim, Emacs, or similar
    • runghc / ghci / hugs / yourfavoritehaskellinterpreterorcompiler

It's not as solid as a dedicated app or scripting layer would be, but honestly, for your use cases, it would provide almost exactly the same functionality as those options (if not more). And it would be just as "mobile" as a website (depends only on the uptime of the host and the connectivity of the client).

like image 35
Dan Burton Avatar answered Oct 03 '22 20:10

Dan Burton