Skip to content

silviu-dev/Loz

Repository files navigation

Loz

Loz is a C++ 17 implementation of the Bob Nystrom's programming language Lox described in his book, Crafting Interpreters

Build the soruce code and run the interpreter

Build dependencies:

  • cmake version 3.20.0 or upper
  • clang-format
  • cppcheck
  • lcov

Clone the project

  git clone https://github.com/silviu-dev/Loz.git

Go to the project directory

  cd Loz

Install dependencies

  ./installDeps.sh

Build the project

  ./build.sh

Run the interpreter in promt mode

  ./build/bin/bootstrap

Run the interpreter in file mode

  ./build/bin/bootstrap 'path to source file'

Running Tests

Build UTs target, run the tests and coverage

  ./utsBuildAndRun.sh

Build UTs target, run the tests and memory checker

  ./memchecker.sh

License

This project is licensed under the MIT License, see LICENSE

MIT License

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors