Dive into the world of Monty bytecodes and explore them like never before! Our Monty 0.98 interpreter decodes .m Monty bytecode files with flair and precision.
- Variety of Monty opcodes supported:
push,pop,swap,addand much more! - Robust error handling for those unexpected moments.
- Dual-mode support: Stack (LIFO) & Queue (FIFO).
git clone [repository_link]
-
Navigate to the project directory: cd path_to_directory
-
Compile the source files: gcc -Wall -Werror -Wextra -pedantic -std=c89 *.c -o monty
-
Run the interpreter: ./monty your_file.m
- push, pall: Lays the foundation with the basic opcodes,
pushandpall. - pint: Displays the value at the top of the stack.
- pop: Removes the top element of the stack.
... journeying through other tasks to:
- Brainfck: A delightful detour into the Brainfck scripting landscape.
- 📄 main.c: The main entry point and driver for our Monty bytecode interpreter.
- 📄 utility.c: The toolbelt of functions ensuring fluid operations.
- 📄 math_operations.c: The heart of arithmetic operations for Monty opcodes.
- 📄 print_operations.c: Specially dedicated to printing-related tasks for our stack or queue.
- 📄 stack_operations.c: Home to core stack or queue operations.
- 📄 stack_operations1.c: An extended suite for additional stack or queue functions.
- 📁 testfiles: Handcrafted test cases to rigorously vet our interpreter!
- 📁 bf: A Brainf*ck aficionado's paradise.
- 🌟 Gift Depriye Amachree
- 🌟 Idris Amina
Utmost gratitude to ALX for sculpting this enriching course, which has been instrumental in our software engineering journey. Special thanks to Julien Barbier for laying down the foundation for this intricate project. We'd also like to acknowledge the assistance of Chat GPT-3 for being a reliable coding companion. To all the peers and coders out there, thank you for your insights and camaraderie. Here's to more lines of code and growth!