The monty programm takes a file with Monty Bytes Code and interprets it for been executed bt the system. Monty 0.98 is a scripting language that is first compiled into Monty byte codes (Just like Python). It relies on a unique stack, with specific instructions to manipulate it. The goal of this project is to create an interpreter for Monty ByteCodes files. The monty programm takes the file and use the lines within to execute them.
FLOW CHART
vagrant:~/monty$ cat -e bytecodes/00.m
push 1$
push 2$
push 3$
pall$
vagrant:~/monty$ ./monty bytecodes/00.m
3
2
1
vagrant:~/monty$
vagrant:~/monty$ cat bytecodes/06.m
push 1
pint
push 2
pint
push 3
pint
vagrant:~/monty$ ./monty bytecodes/06.m
1
2
3
vagrant:~/monty$
Copy the monty executable file, and execute.
vagrant:~/monty$ ./monty [FILE_name]
To get started...
-
Option 1
- 🍴 Fork this repo!
-
Option 2
- 👯 Clone this repo to your local machine using
- HACK AWAY! 🔨🔨🔨
- 🔃 Create a new pull request using.
Feel free to contact me!
- GitHub at
Charliemur2
- Twitter at
@charliesoka
- Insert more social links here.
Free Source Code