Language Guide

Falx is dynamically typed and C-like: braces for blocks, semicolons to end statements, and // comments. This guide walks through the language a piece at a time, in the order a new reader typically needs it.

Conventions used in this guide

  • Code samples are runnable as-is with python -m src.Main run <file>.flx.
  • Where a sample prints something, the exact output appears directly beneath it in a second block.
  • Every documented behaviour has been checked against the interpreter's source on the master branch, not just the README - Falx moves quickly and is pre-1.0, so behaviour can change between commits.