Abstract Virtual Machine project, lets you do various operations on the numerical stack
Abstract VM (Virtual Machine) basically emulates a simple VM based upon stack of numbers,
which lets you run specific commands on it - to manipulate the numbers or get data about
the VM's current state
The program itself is written in C++
To get this thing up and running
- clone the repository and run
make
- Then either run
./avm
and use standard input to type the commands, or use predefined set of input data (folders tests*
)
./avm tests/*
or to run all folders' tests at once
./avm tests*/*