This is a follow up/re-implementation of clox programming language from Crafting Interpreters Book.
I've made some changes, in namings, files, etc. I've also added array support as well.
cmakeany utility and re-usable files for your cmakes goes here.externfolder is where you put your external dependencies, as an example I have usedclove-unitlibrary for unit testing.includeis where you put your exported header files.srcis where your.cfiles must be placed.testsare written usingclove-unitframework which is a lightweight and single header library.
👉 NOTE: You can refer to here for more information about clove-unit.
👉 NOTE: There is also .clang-format available for you to use.
👉 NOTE: All the build artifacts will be placed in out folder, all the build artifacts for tests will be placed in out_tests folder.
clox_ENABLE_NAN_BOXING->ONby defaultclox_ENABLE_DEBUG_PRINT_CODE->OFFby defaultclox_ENABLE_DEBUG_TRACE_EXECUTION->OFFby defaultclox_ENABLE_DEBUG_STRESS_GC->ONby defaultclox_ENABLE_DEBUG_LOG_GC->OFFby default
Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) License.
Please refer to LICENSE file.