Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 772 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 772 Bytes

The Monty language

Project details

Monty 0.98 is a scripting language that is first compiled into Monty byte codes (Just like Python). It relies on a unique stack, with specific instructions to manipulate it. The goal of this project is to create an interpreter for Monty ByteCodes files.

Example

Example Code #include "holberton.h"

      int main (void)

       {

            int age = 43;

char *name = maria;

       _printf("She is %s and has %d years old", name, age);

                    return (0);

                    }

Output

Example1

Compilation

Files are compiled this way: *$ gcc -Wall -Werror -Wextra -pedantic .c -o monty

Authors

Maria Crespo