Open2
ReScriptについて
ReScript なるものを見つけたのでググったりした内容を雑にまとめる
背景
仕事でramda を使ってるコードがあるので、ちゃんと学ぶかなーと思ってGitHub見に行った。言語を見たらJSで「あれTS化しないのかな?」と思いissueを見ていた
そしたら、「alternative としてReScriptで書かれたRamdaは?ts-belpがあるぞ」というのを見つけて、なんのこっちゃとなる。
Alternative might be to rewrite Ramda to Rescript
There is ts-belt, which is something like that.
https://github.com/ramda/ramda/issues/3264#issuecomment-1131478953
ts-belt のGitHubを見に行くとbuilt with ReScript とのことで、言語比率を見るとTS + ReScriptとなってた。
「ReScriptってなんだ?」ってなって歴史を調べる
- 少なくともStackoverflow 2022 には名前もない: https://survey.stackoverflow.co/2022/#most-popular-technologies-language-prof
- 2022-07-07 に ReScript v10 alpha の tweet を見つけてめちゃくちゃ若い言語なことはとりあえずわかった: https://twitter.com/rescriptlang/status/1545100989430222853
- OcamlベースのJSのReasonなるものがあって、それをrebrandingしたものがReScriptみたい。: https://formidable.com/blog/2021/reason-2021/
TODO:
- https://www.greyblake.com/blog/from-typescript-to-rescript/
- https://formidable.com/blog/2021/reason-2021/
- https://blog.codecentric.de/en/2021/01/rescript-compare-typescript-elm/
- https://news.ycombinator.com/item?id=25845147
TODO
- 言語仕様について深堀り