rescript-compiler
rescript-compiler copied to clipboard
The compiler for ReScript.
We'd like to explore a way to be able to render a simple AST explorer on the playground interface. We may take some parts of what the ocaml-vscode extension uses...
Thank you for filing! Check list: - [x] Is it a bug? Usage questions should often be asked in the [forum](https://forum.rescript-lang.org) instead. - [x] Concise, focused, friendly issue title &...
Currently, the Github actions Windows build is disabled because 1. Building ninja from source fails because configure.py cannot find cl.exe ``` ninja.tar.gz not availble in CI mode Traceback (most recent...
Svelte is getting popular among front end development, I believe adding support for it in rescript would be awesome.
The following workflows and package managers don't work when tools build into node_modules directories, or rely on dependencies existing in node_modules. Because of this, developers building native apps with `esy`...
The pipe placeholder is really cool because it allows you to create specialised functions more quickly. ```res let splitAtSeparator = Js.String2.split(_, ";") ``` This works great! However, the next step...
Seems to be addressed upstream https://github.com/ocaml/ocaml/pull/2252 https://github.com/ocaml/ocaml/pull/1610 available in 4.08
JSX: ```reason ``` Compiles to: ```js var React = require("react"); React.createElement("button", { type: "button" }); ``` --- `external`: ```reason type t; [@bs.obj] external make: (~_type: string) => t = "";...
Version: 9.1.4 Live example: https://rescript-lang.org/try?code=LYewJgrgNgpgBAJxgYzgQTgLjgbwL5wC86AUCQIYB2YcAQlriXHKJLOkaQcTky+NHgZiaEnhJA Assume we have the following code: ```rescript module rec A : {} = A and B : { module A = A } = {...
```ocaml type xx type 'a promise external import : 'a -> ('a -> unit) -> unit promise = "bootload" [@@bs.val] ;; module type LIST = module type of List ;;...