faylang / fay

A proper subset of Haskell that compiles to JavaScript
https://github.com/faylang/fay/wiki
BSD 3-Clause "New" or "Revised" License
1.28k stars 89 forks source link

Fay for mobile? #151

Closed mcandre closed 12 years ago

mcandre commented 12 years ago

I'd prefer to write my mobile apps directly in Haskell. For the moment, this is not an option, so I'm looking for alternatives. Fay is an interesting consideration; how could I run the resulting Node.js code in Android?

chrisdone commented 12 years ago

You can use PhoneGap! :-) http://www.phonegap.com/ You write code in JS, it exposes various APIs for accessing the device's features. Fay compiles to JS. Viola! There's a ticket somewhere here for making PhoneGap bindings. You're welcome to start. I haven't started yet. Need to register an Apple developer account.

techtangents commented 12 years ago

I have heard of projects that compile Haskell and Ocaml for IOS. For Android, I've heard of people using scala, but needing to run proguard over it. Then there's Frege for the jvm, but no idea if it'll work on Android.

On 10/11/2012, at 7:49 AM, Andrew Pennebaker notifications@github.com wrote:

I'd prefer to write my mobile apps directly in Haskell. For the moment, this is not an option, so I'm looking for alternatives. Fay is an interesting consideration; how could I run the resulting Node.js code in Android?

— Reply to this email directly or view it on GitHub.

bergmark commented 12 years ago

There also seem to be some attempts on getting nodejs running on android since it supports v8 in some fashion (I know next to nothing about this), but I only found inactive projects.

chrisdone commented 12 years ago

PhoneGap ticket: #111

mcandre commented 12 years ago

Closing, as my thread is a duplicate of #111. Thanks for the link, Chris.