AlexNduta / monty

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Interpreter for Monty ByteCode files

Monty ByteCode contains opcodes specific to Monty. This is an interpreter for these special opcodes: push, pall, pint, pop, swap, swap, add, nop

Description of repo contents:

  • bytecode folder ----- holds Monty ByteCode files
  • monty.h ------------- holds all function prototypes for interpreter
  • main.c -------------- entry into program

How to Compile

Usage: ./monty [filename]

$ git clone https://github.com/MelissaN/monty
$ cd monty
$ gcc -Wall -Werror -Wextra -pedantic *.c -o monty
$ ./monty bytecodes/000.m

Environment

  • Language: C (version C89)
  • OS: Ubuntu 14.04 LTS
  • Compiler: gcc 4.8.4
  • Style guidelines: Betty style

Authors

Melissa Ng M Leon Cheung M

About


Languages

Language:C 95.2%Language:MATLAB 2.1%Language:M 1.7%Language:Forth 1.0%