vile / CHECKLIST.md
410 lines · 383 sloc · 27.61 KB · 76646891b77a3d5c6af4a1e42b122cd61dc1654b
Raw

Vile feature checklist

Missing features and follow-up work, excluding exception handling. Vile is one R5RS-based dialect with selected R6RS/R7RS extensions. Do not add standards profiles, version modes, or separate compatibility runtimes. The report names below identify where features come from; they are not separate implementation targets or a promise to implement either entire report. Scheme and Vile remain two surface syntaxes for the same language. An unchecked item is work remaining.

Select extensions individually for their usefulness in Vile, not to complete a newer report. Where standards conflict, choose and document one behavior for the shared dialect instead of adding a profile switch.

Libraries use R7RS-small's define-library, declarations, and import sets. Selected R6RS procedures use that same machinery; (rnrs ...) names are binding aliases. Do not add R6RS library forms, versioned import references, or an R6RS expansion/run phase system.

Allocation priorities: avoid implicit copies and unnecessary heap work. Reuse V's existing facilities; use explicitly owned arenas without GC where lifetimes allow. Published values, callbacks, and continuations must retain valid ownership.

Already present: lexical closures, proper tail calls, hygienic R5RS syntax-rules, continuations, dynamic-wind, multiple values, promises, mutable pairs/strings/vectors, basic textual/file ports, and datum eval. Those should be extended where necessary rather than reimplemented.

Shared foundations

References: R7RS reader rules, R7RS program/library structure.

R7RS-small syntax and libraries

References: R7RS expressions, definitions, records, and libraries.

R7RS-small data, I/O, and system access

Reference: R7RS standard procedures.

R6RS extension candidates

Choose these individually for the shared dialect. This is not a commitment to full R6RS conformance or a separate R6RS mode.

References: R6RS library catalog, procedural macros, records, hashtables, enumerations, arithmetic, Unicode.

Numeric extensions

These extend the shared exact integer/rational and inexact-real numeric tower. Do not treat every numeric extension as an unconditional R5RS/R7RS-small conformance requirement.

Vile syntax and embedding extensions

Validation for each addition

Continue the integrated GOOPS validation and audit the remaining allocation failure paths for reusable embedded VMs.