Prerequisites for Bosque
Before we can start using the Bosque language and experimenting with its features, we need to meet several requirements:
- A 64-bit operating system
- The LTS version of Node.js and NPM
- TypeScript
- A C++ compiler
At this point, you may wonder why we need Node.js and TypeScript in order to run Bosque programs. The answer is that the whole Bosque implementation is mostly written in TypeScript. The parser, type checker, interpreter, and command-line runner—all of these need to be built and transpiled into JavaScript before we can start using them.
Another thing that may seem a little bit confusing is the need for a C++ compiler to be installed on our system. The reason for this is that it is used for generating executable binaries from the Bosque source code. This is described in more detail in the next section. In this section, let's focus on the first three requirements.
64-bit operating system
This is something of...