```The interpreter of Pineapple```
npm install pinelangFor Windows user, open command prompt in Administrator mode and enter the following command:
``sh`
npm install -g pinelang
For Mac/Linux user, enter the following command:
`sh`
sudo npm install -g pinelang
`py`
def .main
"Hello world".show
`sh`
pine hello.pine
``
cd src
npm install
``
./genparser.sh
`sh`
./build.sh
To run the transpiler without watching file changes, and also TSLint check:
`sh`
./build.sh 0
`sh`
cd src/ts
tslint --project ./ --fix
The command above will run TSLint on the src/ts folder, and also fix any fixable warnings.
`sh`
./test.sh
`sh`
./src/bin/pine.js hi.pine
Note that hi.pine is just a file name.
`sh`
cd src
npm install
`sh`
./publish
`sh`
npm i -g depcheck
cd src
depcheck
`sh``
node package.js