Language Specification

Formalized core syntax, typing, module rules, and diagnostics

Overview

Linea now maintains an explicit language specification for stable syntax and tooling behavior.

docs/LANGUAGE_SPEC.md

Highlights

Import Validation Example

import math { abs, max }
display math::abs(-5)

If a symbol is not exported by the module, compilation fails early with a list of available exports.