Description
The focus of this project is to learn:
- the definitions of LIFO and FIFO.
- what a stack is and when to use it.
- what a queue is, and when to use it.
- the common implementations of stacks and queues.
- the most common use cases of stacks and queues.
- the proper way to use global variables
- how to work with git submodules
- Ubuntu 14.04 LTS
- gcc standard C90
N/A
- http://stackoverflow.com/questions/1433204/how-do-i-use-extern-to-share-variables-between-source-files-in-c
- https://github.com/blog/2104-working-with-submodules
main.c: entry point for Monty bytecode interpreterexecute.c: executes the requested bytecode operationfunctions.c: contains helper functions for the Monty bytecode interpretercalc_ops.c: functions for executing math bytecode operations.error.c: functions for raising various errors and in some instances exiting with code.print_ops: executes various bytecode operations associated with printing node elements of the stackpush_pop_ops.c: bytecode operations push, pop and nopmanipulation_ops.c: bytecode operations that move stack elemnts to a different positionstack_queue.c: (not implemented) bytecode operations to move the head pointer to either the top or bottom of the stackadd_node.c: adds an element to the top of the stackstring_functions.c: various string manipulation functionsmonty.h: header file for the Monty bytecode interpreter
Stuart Kuredjian @stueygk
Spencer Cheng @spencerhcheng
Public Domain, no copyright protection