TIDE
Languages

Squirrel

Installing Squirrel on Ubuntu in TIDE

Squirrel

Squirrel is a high-level imperative, object-oriented programming language designed to be embedded into applications and game engines.

Installation

Prerequisites

Install the necessary compilation tools:

sudo apt update
sudo apt install -y build-essential cmake git

Building the Squirrel Interpreter (sq)

Clone the official Squirrel repository and build the sq binary:

git clone https://github.com/albertodemichelis/squirrel.git
cd squirrel
make
sudo cp bin/sq /usr/local/bin/

Verification

Confirm that sq is available in your system path:

sq -v

Writing and Running Code

Create a file named hello.nut:

hello.nut
print("Hello, World from Squirrel!\n");

Run the file using the sq interpreter:

sq hello.nut

Official Resources

On this page