Skip to content

atrodo/lorito

Repository files navigation

Lorito - A minimal VM prototype

This is Lorito, a minimal VM prototype. It was started as a refactoring of the core of ParrotVM.

Building Lorito

Lorito is written in C. The Lorito assembler is written in perl. Today, Lorito is not written at all portable. It assumes 32-bit, x86 linux. That will change eventually. A simple Makefile is included, so running make will produce the lorito executable.

Running Lorito

lasm.pl < file.lasm > file.ito
lorito file.ito

Currently Lorito is a two step process. First you have to take an lasm file and produce a Lorito Bytecode file (.ito). This is done with the lasm.pl tool. Once you have an .ito you can use the compiled lorito executable to run the bytecode.

Other Documentation

Design
Opcodes

And remember

Less magic == More magic

About

A quick and dirty Lorito of 20ish op codes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published