Skip to content

Non-interactive interpreter for Monty ByteCode

Notifications You must be signed in to change notification settings

RicHincapie/monty

Repository files navigation

Interpreter for Monty ByteCodes

This is a fun non-interactive interpreter for Monty ByteCodes

Motivation

This project is made for learning purposes and because #CisFun.

It is part of the Unit 01 — Higher-level Languages at Holberton School.

Prerequisites

This interpreter was built in Ubuntu trusty 14.04 LTS, please use a compatible operating system.

Installation

Clone the repository at: Monty ByteCodes Interpreter

Compile this way:

gcc -Wall -Werror -Wextra -pedantic *.c -o monty

And then, inside the directory of compiling of using the absoulute path of it, do:

./monty <file>

Use example

./monty


### Coding style
[Holberton School coding style](https://github.com/holbertonschool/Betty/wiki), which is inspired and slightly modifies the [Linux kernel coding style](https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/plain/Documentation/process/coding-style.rst)

#### Indentation example

Tabs equals to 4 spaces:

sample_func(char suffix) { int var; var = 0; switch (suffix) { case 'G': case 'g': var = 30; break; } }

Lenght of lines

The limit on the length of lines is 80 columns and this is a strongly preferred limit.

Lenght of functions

Functions should be short and sweet, and do just one thing. They must fit on 40 lines, and do one thing and do that well.

Built With

Visual Basic Code Ubuntu 14.04 LTS

Contributing

Please, contact us if you are interested in continue this project. We would be excited to give you a short introduction to it.

Authors

Ricardo Hincapie - Software Developer - @RicarHincapie

🚀 Let's follow each other on Github

Jose Alonso Restrepo Vidal - Software Developer - @joserestrepo98

🚀 Let's connect! Github

See also the list of contributors who participated in this project.

License

This project is not licensed.

Acknowledgments

To our families, for whom all the effort is worth it.

To the coding global community, for its efforts to keep knowledge available.

About

Non-interactive interpreter for Monty ByteCode

Topics

Resources

Stars

Watchers

Forks

Languages