6 ms·
I wonder if there're any plans to make it self-hosting. It would be more appealing if it can run in browsers and node like CoffeeScript.
by clvv 14y ago
I wonder if there're any plans to make it self-hosting. It would be more appealing if it can run in browsers and node like CoffeeScript.
- shaunxcode 14y agoThere is no reason it would not work in node and browser currently is there?
- inportb 14y agoThe Fay compiler is written in Haskell, so you will need the Haskell platform installed (or at least Cabal). I don't know if it is a Fay-compatible subset of Haskell, but I would not bet on it :)
- clvv 14y agoI think the compiler would already be available in javascript if that's the case.
- nandemo 14y agoNot sure if I understand your suggestion... I suppose if one wants to write server-side code in a Haskell-ish language then one would simply use standard Haskell plus Yesod or another web framework.
- clvv 14y agoIt is always better to have alternatives. Being self-hosting and compiling to a widely-used language like javascript is definitely a plus. Another useful case is that an interactive "Try Fay" page can be setup (like "Try CoffeeScript" page).
- echaozh 14y agoElm is actually self-hosting by your standard. If the average IQ of the world population is higher, I think Haskell will become a widely-used language. Haskell is a language much more than its syntax, and takes a lot of effort to learn.
- jaekwon 14y agoThat's why it sucks, sir.
- deleted 14y ago[deleted]
- chrisdone 14y agoI do have some plans to make a JSON Fay-in-JS-out service. Possibly with some “export compressed as .tar.gz” feature to give you a production-ready export. It would even be quite cool to make a REPL and development environment, but that's a little far off.