/cpplox

Hobby Bytecode Interpreter written on C++

Primary LanguageC++MIT LicenseMIT

cpplox

Hobby Bytecode Interpreter written on C++.

Prerequisites

  • A compatible operating system (e.g. Linux, macOS, Windows).
  • A compatible C++ compiler that supports at least C++17.
  • Google Test Prerequisites (link)
  • Boost Library v1.70+. On macOS you can install it with brew install boost
  • CMake and a compatible tool for building this project like make.

Building

Execute the following commands on your terminal:

  • git clone git@github.com:mbassale/cpplox.git
  • cd cpplox
  • cmake --build .
  • ./cpplox_test to run test suites.
  • ./cpplox to execute the interpreter.

Other Links