PACKAGE

mantra.lang

Core language foundation, primitive object wrappers, memory vtables, and standard exceptions.

📋 Classes & Interfaces Summary

Class / Interface Type Description
Object CLASS The ultimate base class of all objects in Mantra. Defines default object equality, virtual method dispatch tables, and string representation.
String CLASS Immutable heap-allocated UTF-8 string with length caching, slicing, and string interpolation support.
List CLASS Dynamic heterogeneous resizable array implementation backed by contiguous heap storage with amortized O(1) appends.
Equatable INTERFACE Standard contract for custom types requiring deep structural equality checks.
BaseException ABSTRACT Abstract root class for all system diagnostics, assertions, and runtime exceptions.