I am one of the authors of BuckleScript, you can try BuckleScript in the browser: http://bloomberg.github.io/bucklescript/js-demo/ Click Examples see how the JS code generated, questions are welcome!
Announcing BuckleScript 1.0
31–40 of 78 posts
Re: Announcing BuckleScript 1.0
#32Re: Announcing BuckleScript 1.0
#33Re: Announcing BuckleScript 1.0
#34I am one of the authors of BuckleScript, you can try BuckleScript in the browser: http://bloomberg.github.io/bucklescript/js-demo/ Click Examples see how the JS code generated, questions are welcome!
Very neat. Can BuckleScript compile Core?
Re: Announcing BuckleScript 1.0
#35Earlier quoted context omitted.
Are there internal projects inside Bloomberg that use this? It is really great and it is very impressive that it seems that you almost single-handedly did all this. I am curious what moved Bloomberg to start a project like this.
we have an intern this summer create bindings for our internal JS stack. we have some internal stuff running on server side in OCaml which we wish to move to client side. I would say many thanks to my boss and employer's great support
How did you become so proficient with the OCaml compiler internals? When you started the project did you already know that you can compile to idiomatic js or was that discovered through experimentation?
Re: Announcing BuckleScript 1.0
#36Earlier quoted context omitted.
Think Elixir for Erlang. Currently it's a syntax on top of OCaml. But we'd like to polish the OCaml ecosystem tooling too; we're calling the umbrella project "Reason".
> Currently it's a syntax on top of OCaml. Does this just mean it compiles to OCaml?
Because of the clean mapping from one syntax to another, you can toggle between the two fairly easily: https://github.com/facebook/reason/wiki/Newcomer-Tips-&-Tric...
Re: Announcing BuckleScript 1.0
#37I am one of the authors of BuckleScript, you can try BuckleScript in the browser: http://bloomberg.github.io/bucklescript/js-demo/ Click Examples see how the JS code generated, questions are welcome!
Very neat. Can BuckleScript compile Core?
Re: Announcing BuckleScript 1.0
#38This looks really cool. How does the integration with external JavaScript libraries work? Could I use this with something like Three.js?
Re: Announcing BuckleScript 1.0
#39Previously called OCamlScript? The GitHub link at https://news.ycombinator.com/item?id=10860815 now goes to Buckle.
Re: Announcing BuckleScript 1.0
#40That leaves this, Clojurescript, and SPOCK as the only really interesting projects. They all have runtimes that are unpleasantly large (well, Buckle may not), but that's the price of a new language.
However, Clojurescript leaves a bad taste in my mouth, and SPOCK stresses javascript implementations in interesting ways. I'm not really a fan of OCaml, but Buckle looks interesting, and more enjoyable/practical than the other two.