Re:Compile OCaml to JavaScript, use ReactJS, bindings to Rea...
by LeonidasXIV on Wednesday July 27, 2016 @03:53AM
(#12171213)
I don't claim to be knowledgeable with OCaml, but I use it on and off since a couple of years and wrote about my thoughts when it was first released[0]. tl;dr: don't like the syntax, for the most part it's worse than OCaml itself. The rest is alright and helps the OCaml ecosystem as well, the focus on better tooling is good.
[0]: https://xivilization.net/~marek/blog/2016/05/19/reason-lets-...
Re:Compile OCaml to JavaScript, use ReactJS, bindings to Rea...
by e_d_g_a_r on Wednesday July 27, 2016 @01:10AM
(#12170644)
Speaking for myself, I think Reason is a very good thing and rewriting this in Reason or adding a Reason layer is a goal/TODO.
Re:Compile OCaml to JavaScript, use ReactJS, bindings to Rea...
by rajington on Wednesday July 27, 2016 @01:31AM
(#12170709)
That's awesome and great work.
I know it's dumb that the thing holding me back from OCaml is the syntax, but after giving up on an Om project I've come to accept js will always be the greatest common denominator.
Re:Compile OCaml to JavaScript, use ReactJS, bindings to Rea...
by lmm on Wednesday July 27, 2016 @05:13AM
(#12171448)
Maybe consider Scala? It's an ML family language with more familiar syntax, and also has a Javascript backend.
Re:Compile OCaml to JavaScript, use ReactJS, bindings to Rea...
by e_d_g_a_r on Wednesday July 27, 2016 @02:16AM
(#12170874)
I don't blame you, ES6 can be stupid concise and enjoyable. I practice most of my algorithms prep coding in it.
Re:Compile OCaml to JavaScript, use ReactJS, bindings to Rea...
by bsimpson on Wednesday July 27, 2016 @01:48AM
(#12170769)
As I recall, Reason is the current project of React originator Jordan Walke and React contributor Cheng Lou. I wouldn't be at all surprised to see a Facebook project emerge that allows you to author React apps in Reason with Bucklescript.
Re:Compile OCaml to JavaScript, use ReactJS, bindings to Rea...
by scriptdevil on Wednesday July 27, 2016 @07:44AM
(#12171994)
The search term is reasonml.
The name makes it impossible to research to find any blog posts or anything, but the familiar syntax alone might make it at least a first step for me.