waveyboym / Interpreter

A basic interpreter which interprets and executes a program line by line

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Interpreter

A basic and my first attempt at making an interpreter which interprets and executes a program line by line

Presentation

interpreter code

Inspirations, Sources and References

  1. https://craftinginterpreters.com/
  2. https://www.youtube.com/playlist?list=PLZQftyCk7_SdoVexSmwy_tBgs7P0b97yD
  3. https://ruslanspivak.com/lsbasi-part1/

Implemented features

  1. numbers and strings
  2. operations which can be performed between numbers and strings(logical, relational etc)
  3. variables
  4. printing to the console
  5. control flow( if statements, while loops and for loops)
  6. functions (currently being implemented)

Language Rules

language rules can be found under RULES/langrules.txt

Documentation

Access the documentation here: Live docs
Or by accessing this folder: DOCS

About

A basic interpreter which interprets and executes a program line by line


Languages

Language:C++ 98.2%Language:Makefile 1.8%