Commit Graph

12 Commits

Author SHA1 Message Date
nocturn9x fa9594f855 Improved test suite colored output 2021-01-18 11:05:37 +01:00
nocturn9x 71f79d8174 Fixed various minor bugs, improved debugger output and consistency 2021-01-16 18:14:22 +01:00
nocturn9x 882efd28da Separated string interning tests in compile-time vs runtime, fixed a bug in the build script and added some comments to the VM as well as a toStr function to obtain objects representations as strings 2021-01-14 22:37:11 +01:00
Productive2 390087dab5 Testing now supports testing for JAPL exceptions... kinda 2021-01-10 20:33:29 +01:00
Productive2 338a3b0535 New tests 2021-01-10 19:44:00 +01:00
Productive2 30fb134a74 More tests 2021-01-10 19:32:28 +01:00
nocturn9x 5f55ea53ac Minor improvements to build script and fixed a bug in the test suite where it would mark a test as completed before checking its output 2021-01-10 08:24:34 +01:00
nocturn9x 87fa674b15 Fixed a minor bug when calling natives with variadic arguments. Improved tests/runtests.nim and integrated the test suite in the build script. Added type(), round() and toInt() builtins to JAPL as well as the identity operator (revision needed). Got rid of an unused parameter inside frame.nim and cleaned up the VM's code by no longer using var parameters for the VM. Exception objects are now added to the VM's objects stack and variables used for debugging purposes are now only declared/modified when the debug flags are turned on 2021-01-09 18:03:47 +01:00
Productive2 5c8b0cb494 Added euler's problem 1 to tests
Added recursion to running tests
2021-01-05 20:51:05 +01:00
nocturn9x a58b8a9ef0 Removed unused/dead code + improved test suite code quality 2021-01-05 16:10:28 +01:00
Productive2 de65ca3374 Runtests done
Removed trailing space from prints
Started arithmetic testing
2021-01-05 12:52:41 +01:00
Productive2 d4c07fdd51 Created a testing entry 2021-01-05 12:21:23 +01:00