Skip to content

imcjohn/TinyBasic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A Tiny Basic interpreter, written in C++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published