Skip to content

Monty is an interpreted lanaguage that only uses stacks. It is more link brain fuck, but instead of arrays with stacks and ques.

Notifications You must be signed in to change notification settings

hileamlakB/monty_interpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Monty

Discription

Monty is an interpreted lanaguage that only uses stacks. It is more linke brain fuck, but instead of arrays with stacks and ques.

Files

    1. monty.h - This file is the main header file containing all the function prototypes and structs is defined
    1. monty.c - In this module, the main entery point of the program is defined
    1. lexer.c - In this module funtions and other identifiers related to the lexer are defiend
    1. loader.c - In this module, functions and other identifers related to opening and a file
    1. interpreter.c - In this module, functions and other identifers related to interpreting a linked list of tokens are defined
    1. interpreter_helper1.c - In this module, functions like
    • push
    • pall
    • pint
    • pop
    • swap, which are helpers of the functions defined in the interpreter.c, are defiend.
    1. interpreter_helper2.c - In this module, functions like
    • add
    • nop
    • sub
    • div
    • mult, which are helpers of the functions defined in the interpreter.c, are defiend.
    1. interpreter_helper3.c - In this module, functions like
    • mod
    • comment
    • pchar
    • pstr
    • rotl, which are helpers of the functions defined in the interpreter.c, are defiend.
    1. interpreter_helper4.c - In this module, functions like
    • rotr, which are helpers of the functions defined in the interpreter.c, are defiend.

About

Monty is an interpreted lanaguage that only uses stacks. It is more link brain fuck, but instead of arrays with stacks and ques.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published