15 stable releases

new 1.15.0 May 15, 2026
1.14.3 May 7, 2026
1.13.0 Apr 11, 2026
1.12.2 Mar 20, 2026
1.11.0 Feb 24, 2026

#509 in Programming languages


Used in 2 crates

MIT license

1MB
20K SLoC

sema-vm

Bytecode compiler and virtual machine for the Sema programming language.

This crate provides an alternative execution backend:

  • Compiler — lowers s-expression AST to bytecode via an intermediate representation
  • Virtual machine — stack-based VM with closures, upvalues, and exception handling
  • Serialization.semac bytecode file format for ahead-of-time compilation

Usage

This is an internal crate. If you want to embed Sema in your application, use sema-lang instead:

[dependencies]
sema-lang = "1.6"

📖 Architecture · Documentation · GitHub

Dependencies

~2.7–4MB
~66K SLoC