Getting Started
Installation
Prerequisites
- Node.js version 18 or higher.
- A terminal for accessing WhirlScript through its Command Line Interface (CLI).
sh
$ npm add -g whirlscriptsh
$ pnpm add -g whirlscriptsh
$ yarn global add whirlscriptSetup Guide
WhirlScript uses its package manager Whirlpkg.
shell
$ wrp initConfiguration Files
- The
whirlpkg.jsonfile is used to store the package configuration; - The
wrsconfig.jsonfile is used to store the build configuration.
Compilation
Once you have completed your configuration, you can compile your source code like this:
shell
$ wrsc