PBS Specifications (Current)

This directory contains the current PBS specifications for frontend and language work.

Authority model

  • Runtime authority: docs/specs/hardware/topics/chapter-2.md, chapter-3.md, chapter-9.md, chapter-12.md, chapter-16.md.
  • Bytecode authority: docs/specs/bytecode/ISA_CORE.md.
  • Legacy reference only: docs/specs/pbs_old/*.

When a rule conflicts with runtime or bytecode authority, runtime and bytecode authority win.

Purpose

  • Define a stable syntax contract for PBS.
  • Support a full frontend rewrite (lexer, parser, AST, lowering).
  • Keep grammar deterministic and implementation-friendly.

Files

  • PBS - Language Syntax Specification v0.md: normative syntax and grammar for PBS v0 Core profile, including mandatory mod.barrel visibility rules.