Skip to content

Releases: gmb9817/Matlang

Release list

hello

hello Pre-release
Pre-release

Choose a tag to compare

@gmb9817 gmb9817 released this 17 Apr 13:32

Matlang 0.1.0

Usage

Build the CLI:

.\scripts\cargo-msvc.cmd build --release -p matc

Show help:

target\release\matc.exe help

Parse a file:

target\release\matc.exe parse path\to\file.m

Run semantic checks:

target\release\matc.exe check path\to\file.m

Lower to HIR:

target\release\matc.exe lower path\to\file.m

Run optimizer passes:

target\release\matc.exe optimize path\to\file.m

Generate bytecode output:

target\release\matc.exe codegen path\to\file.m

Run through the interpreter:

target\release\matc.exe run path\to\file.m

Run through the bytecode VM:

target\release\matc.exe run-bytecode path\to\file.m

Package a bytecode artifact:

target\release\matc.exe package-bytecode path\to\file.m out.matbc

Inspect a bytecode artifact:

target\release\matc.exe inspect-bytecode out.matbc

Create a runnable bundle:

target\release\matc.exe bundle-bytecode path\to\file.m out.matpkg

Inspect a bundle:

target\release\matc.exe inspect-bundle out.matpkg

Export a workspace snapshot:

target\release\matc.exe export-workspace path\to\file.m out.matws

Inspect a workspace snapshot:

target\release\matc.exe inspect-workspace out.matws

Run a packaged artifact:

target\release\matc.exe run-artifact out.matbc

Run a packaged bundle:

target\release\matc.exe run-bundle out.matpkg

Set MATC_PATH to add extra resolver search roots for resolver-aware workflows.