[app] Add support ReasonML/Rescript #77

This commit is contained in:
Namhyeon Go 2023-08-02 16:06:08 +09:00
parent 424769d1d5
commit 008f0044e3
2 changed files with 5 additions and 4 deletions

View File

@ -34,8 +34,7 @@ Dual license notice: The default license for this project is GPL 3.0. However, i
- [Includes binaries](https://github.com/gnh1201/welsonjs/blob/master/bin/README.MD)
- [module.exports](https://nodejs.org/en/knowledge/getting-started/what-is-require/), CommonJS, UMD compatibility
- [NPM](https://www.npmjs.com/) compatibility
- [CoffeeScript 2](https://coffeescript.org/)/[LiveScript](https://livescript.net/) compatibility
- [TypeScript](https://www.typescriptlang.org/) compatibility
- Pre-included transpiler - e.g. [TypeScript](https://www.typescriptlang.org/), [CoffeeScript 2](https://coffeescript.org/), [LiveScript](https://livescript.net/), [Rescript](https://rescript-lang.org/)
- Ready to use on Windows machine immediately. No require additional softwares installation.
## Included libraries

View File

@ -1,5 +1,7 @@
let greet = (name) => "Hello " ++ name
let add = (x, y, z) => x + y + z
let main = (args) => {
Js.log(greet("world!")) // "Hello world!"
Js.log(add(1, 2, 3)) // 6
}