Define the MVP semantic core

Archived MVP specification. For ASPL 0.6.0, see the current reference and native HTTP guide.

Type: grilling Status: resolved Parent: Find the ASPL MVP specification

Question

What exact static types, expressions, variable and mutability rules, function semantics, control flow, string-literal behavior, source-file structure, and explicitly unsafe operations belong to the tiny MVP language core, and which acceptance programs prove that this core is internally coherent?

Answer

The MVP semantic core is a small, statically typed language with checked integer arithmetic, deterministic evaluation, immutable-by-default lexical bindings, typed top-level functions, literal-only strings, and an operation-local unsafe boundary for C calls. This ticket fixes behavior, not source spelling, VM representation, or the C adapter catalog.

Types and checking

Programs and names

Bindings and scopes

Functions

Expressions and statements

Numeric behavior

Booleans and equality

Strings

Pointers and unsafe operations

Control flow, evaluation, and traps

Acceptance programs

The notation decision must render these as equivalent Arabic-keyword and English-keyword source fixtures. Each rejection and trap is a separate program so an earlier failure cannot hide another.

Programs that succeed:

Programs rejected during checking cover each of these independently:

Programs that trap at runtime cover each of these independently:

The runtime value model must preserve these semantics in bytecode execution. Dynamic C interoperability must add a concrete foreign-call fixture. Diagnostics, CLI, playground, and final conformance decisions must preserve the same checking and trap outcomes in every environment where the relevant operation is supported.