Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 1006 Bytes

File metadata and controls

17 lines (14 loc) · 1006 Bytes

Tiny Basic Interpreter, in C++

Overview

  • Interpreter for the Tiny Basic language, written by myself as a fun exercise in C++
  • Should compile with g++ or msvc++ (or whatever they call it at microsoft these days) without any difficulties, I use CMake to compile it, but it is a very simple makefile
  • This used to be a part of my coding profile, but since I plan on developing it more, it seemed logical to give it it's own folder!

Descriptions by file

  • Expression.cpp/h - Handles evaluation of expression (numerical variables). Fun exercise in recursion
  • helpers.cpp/h - Some quick helper functions to handle math and capitalization
  • main.cpp - The primary basic interpreter/runner. Soon i'm going to abstract it out to a few files for clarity, but haven't had the time to do it yet
  • CMakeLists - Makefile for the project

Things I haven't added yet but plan on adding soon, so check back if curious!

  • Ability to load/run from files
  • Some example programs
  • Comprehensive unit tests