Author: Stanley Sathler Pinto
Pyscal is a basic programming language, built for learning purposes. Its main goal is to serve as a target language for building a compiler.
It was built for NodeJS v10.16.0 or higher. Once you install NodeJS, npm 6.10.1 should be automatically installed as well.
To run any command below, make sure you are under the project's root directory:
$ cd path/to/pyscal-compiler
For a better printing on the terminal, the compiler uses a few 3rd-party packages. You need to install them.
$ npm install
This command installs any dependencies required by the compiler.
Once all dependencies are installed, all you have to do is type the following commands:
$ npm start path/to/your/source/file.pys
#### OR (if you prefer)
$ node index.js path/to/your/source/file.pys