Skip to content
DRAFT

Migration guides

Version-aware migration policy and known compatibility considerations for Prismio 0.1.

Last verified

Version 0.1.0 is the first documentation baseline, so there is no earlier stable language release to migrate from. Code written against prototypes or the archived website may mention features that never existed in the self-hosted compiler.

Audit older code for these common mismatches:

  • I32 is accepted again, as another spelling of Int.
  • Remove semicolons and expression-bodied functions.
  • Replace namespaced module use with flattened dotted imports.
  • Traits, impl blocks, generics and closures exist; exceptions, async and macros do not yet — see the roadmap.
  • Treat ordinary move-only parameters as borrows; use sink for transfer and inout for mutable borrowing.
  • Replace nullable sentinel tricks with T?, none, and expect where T is reference-shaped.
  • Replace assumed std.* imports with compiler-known functions or explicit local FFI wrappers.

Future releases will receive dedicated /migration/<from>-to-<to> pages, with executable before/after examples and links from both releases.