Installation

The first step to begin using Whistle is to install the Whistle cli which works on windows, linux and mac. It is also possible to use Whistle from code in any enviornment that can run modern javascript.

Installation of the Whistle cli currently only requires one prerequisite: Deno. Deno is a modern javascript runtime created by the same guy that created Node.js that attempts to improve and develop it further without having to work with the outdated codebase of Node.js.

Running the following command in the terminal will install the Whistle cli which provides an easy to use interface to interact with the tokenizer, parser and compiler:

$ deno install -Af https://raw.github.com/whistle-lang/whistle/master/cli/whistle.ts