Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A quick and dirty Lorito of 20ish op codes.
tree: a99e827f77

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
t
LICENSE
Makefile
Readme.pod
config.h
core.c
design.pod
internal_pmc.c
internal_pmc.h
interp.c
interp.h
lasm.pl
loader.c
loader.h
lorito.h
main.c
microcode.h
ops.pod
ops_skel.pod
pmc.c
pmc.h
pmc_func.c
pmc_func.h
pmc_func.pod
refrence.lasm
verify_gmr.pl
verify_ops.pl

Readme.pod

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

Something went wrong with that request. Please try again.