Skip to content

Installation

plat-lang can be compiled from source via the instructions provided below. Alternatively, one can download a precompiled binary.

Install Dependencies

On Debian or Ubuntu:

sudo apt-get update
sudo apt-get install -y cmake g++ flex bison

Build

cmake -S . -B build
cmake --build build

Run a Script

build/platlang examples/en/fibonacci.plat

Read one line from standard input:

aafdrökke("What is your name?")
loat name = inveure()
aafdrökke("hoi " + name)

Limburgish Diagnostics

build/platlang --lang li examples/li/fibonacci.plat

Run Tests

ctest --test-dir build