TIDE
Languages

Genie

Installing Genie on Ubuntu in TIDE

Genie

Genie is a modern programming language designed with clean, Python-like indentation syntax while targeting the GNOME Vala compiler architecture. It compiles down to C code using GLib/GObject without runtime memory overhead.

Installation

Genie is supported out of the box by the Vala compiler suite (valac). Install valac on Ubuntu:

apt update
apt install -y valac build-essential libglib2.0-dev

Verification

Verify that the valac compiler is installed:

valac --version

Writing and Compiling Code

Create a Genie source file named hello.gd:

init
    print "Hello, World!"

Compile the Genie code into a native executable binary:

valac hello.gd

Run the compiled executable:

./hello

Official Resources

On this page