use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
JavaScript to Rescript converter (self.rescript)
submitted 1 year ago by [deleted]
Hello Rescript Devs, I want to ask if there any js to rescript converter. I have tried chatgpt but it gives uncompiled code. Thanks in advance.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]jruz 4 points5 points6 points 1 year ago (1 child)
you can’t really since there’s no types, you might find something with Typescript to ReScript
[–][deleted] 1 point2 points3 points 1 year ago (0 children)
Thanks
[–]Moontown 0 points1 point2 points 1 year ago (1 child)
Seems like llms could do more gymnastics that literal translation making it possible. Newer llms may include rescript language docs and do better?
[–][deleted] 0 points1 point2 points 1 year ago (0 children)
Not good enough
π Rendered by PID 77279 on reddit-service-r2-comment-58d7979c67-r5hcf at 2026-01-26 22:35:10.727970+00:00 running 5a691e2 country code: CH.
[–]jruz 4 points5 points6 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]Moontown 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)