Skip to content

KelvinTemperature/monty

Repository files navigation

Monty Interpreter

this is a mini interpreter for the Monty Language. it was built in order to have a deep understand of LIFO and FIFO algorithms. it can be used both in stack mood and queue mode

supported commands

push pull pall pint pop add sub mul mod swap rotl rotr comments (#) stack queue pstr pchar

how to use

clone repo cd into main folder compile with gcc -Wall -Werror -Wextra -pedantic std-gnu=89 *.c -o monty

./monty path_to_monty_commands_file

Example of command

push 4 push 5 add pint

prints 9.

Conclusion

pull requests are accepted!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published