Skip to content

Moss v0.90.0 — C VM Python Bridge + Compiler 96 Instructions

Choose a tag to compare

@Fujo930 Fujo930 released this 09 Jun 01:10

Moss v0.90.0

Python C VM bridge + compiler tracks 96 instructions.

New: mosslang.cvm

from mosslang.cvm import compile_and_run, trust_artifact_cvm

# Compile with Python, execute with C VM
output, code = compile_and_run("examples/order.moss")

# Trust Artifact with C VM golden gate
ta = trust_artifact_cvm("examples/order.moss")

Selfhost Compiler (compiler_core.moss)

  • 96 total instructions (44 module + 27 fn ship + 25 fn test)
  • Function bodies now compiled with real instructions
  • C VM: 35 opcodes, OP_AND/OR/MOD added

Two-track distribution

Track Format Use
Python library pip install mosslang AI tools, Studio, LSP
Standalone mossvm.exe (122KB) Zero-dependency execution

Package

  • Moss Studio.exe, moss.exe, moss-lsp.exe, mossvm.exe
  • Download, unzip, run. No Python needed.