• v5.3.0 dabcadb533

    v5.3.0 — Native Runtime: Heap, Strings, int-to-string
    Some checks are pending
    CI / build-and-test (push) Waiting to run
    Stable

    root released this 2026-03-16 14:41:48 -03:00 | 120 commits to main since this release

    What's New in v5.3.0

    Native Runtime (364 bytes)

    Embedded x86_64 runtime with 7 routines:

    • heap_init — brk-based heap allocator (r14/r15 registers)
    • heap_alloc — bump allocator with 8-byte alignment
    • str_alloc — allocate [length][data] strings on heap
    • str_concat — concatenate two heap strings
    • str_print — write string + newline to stdout
    • str_from_int — convert integer to heap string
    • print_int — direct integer output

    Tagged Values

    • Negative values = string pointers (negated)
    • Non-negative values = integers
    • ADD checks tag: string concat or integer add
    • PRINT checks tag: str_print or print_int

    New Features

    • String concatenation: "Hello" + " World" → 688-byte binary
    • Int-to-string: x.to_s via METHOD_CALL → str_from_int
    • "Answer: " + x.to_sAnswer: 42 in 668-byte binary
    • String length via METHOD_CALL length 0

    Self-Hosting Roadmap

    8 backlog tickets (#036-#043) for complete bootstrap self-compilation:

    • #036 Native runtime (IN PROGRESS)
    • #037 String concat/interpolation
    • #038 Arrays & hashes
    • #039 Classes & OOP
    • #040 Closures & blocks
    • #041 Exceptions
    • #042 Minimal stdlib
    • #043 Bootstrap self-compile
    Downloads