petr-vm

a basic VM for running and debugging petr IR

1 unstable release

0.1.0 Jul 23, 2024

47 downloads per month
Used in 3 crates (via petr-api)

MIT license

165KB
4K SLoC

Basic VM/interpreter for petr-ir. Primarily intended for testing the correctness of codegen and maybe some other features down the line, like a debugger or repl.

Dependencies

~4–10MB
~111K SLoC