Windows
Graphical Windows installer or PowerShell script.
Download .exeJSling-Setup.exe
C++17 JavaScript-like runtime
Install a small Node-style command line runtime for scripts, REPL sessions, and JavaScript language experiments.
bash <(curl -fsSL /download/unix-source-installer)
$ jsling -e "console.log(1 + 2)"
3
$ jsling
jsling v1.0.0 - JavaScript Runtime (REPL)
>>> const add = (a, b) => a + b
>>> console.log(add(2, 5))
7
Artifacts
Graphical Windows installer or PowerShell script.
Download .exeJSling-Setup.exe
Local source-tree installer for Unix-like systems.
Download .shbash <(curl -fsSL /download/unix-source-installer)
bash scripts/install-local.sh
Installer script intended for fetching and building from a Git repository.
Download install.shbash <(curl -fsSL /download/unix-source-installer)
bash install.sh --prefix "$HOME/.local"
Downloads the currently built Linux binary when it exists on this machine.
Download binarybash COMPILER_CPP/scripts/build.sh
Quick install
The website serves the installer files directly. Download one, then run it from the project directory or keep it beside the source tree.
powershell -ExecutionPolicy Bypass -File .\scripts\install-windows.ps1 -AddToPath
cd COMPILER_CPP
bash scripts/install-local.sh
bash <(curl -fsSL /download/unix-source-installer)
Check it
jsling --version
jsling -e "console.log(1 + 2)"
Expected output: jsling v1.0.0 and 3.