This is a Monty ByteCodes files interpreter
Create a monty file in this directory and type this command
python3 main.py filenameMonty files rules:
- One instruction per line.
- Text after the command or its argument is ignored.
- Any number of spaces before or after the command and its argument.
- Blank lines allowed (empty or made of spaces).
- A monty file can be or not ended in '.m'.
| File | Description |
|---|---|
| PUSH | Pushes an element to the stack |
| PALL | Prints all the values on the stack, starting from the top of stack |
| PINT | Prints the value at the top of the stack |
| POP | Removes the top element of the stack |
| SWAP | Swaps the top two elements of the stack |
| ADD | Adds the top two elements of the stack |
The song Nat heard: https://www.youtube.com/watch?v=30oa0b2mdUo
The song actually played: https://www.youtube.com/results?search_query=corridos+de+vicente+fern%C3%A1ndez