Commit Graph

33 Commits

Author SHA1 Message Date
Productive2 f94d4fecc8 Fixed bug with break (breaking the test for.jpl) 2021-02-28 18:46:21 +01:00
Productive2 fb11433477 better compiler debugging
added test for defaults
2021-02-28 18:09:19 +01:00
Productive2 88b4fa0d3a New tests
added new tests,
modified old tests to have all non-japl code commented, so they can be
also ran using jpl
modified verbose to use the new -e flag instead of --stdout, so it
doesn't spam
2021-02-28 14:10:17 +01:00
Productive2 f32c1036c2 Allow // in test definitions. 2021-02-26 22:42:36 +01:00
nocturn9x 5d8c31fb07 Fixed identity operator bug and added isnot for consistency. Changed behavior for gt/lt comparisons to account for more complex expressions 2021-02-26 12:27:10 +01:00
Productive2 b85598dfb6 removed old debugging parts 2021-02-20 22:30:13 +01:00
Productive2 ffd3b9a542 More documentation
inputtest should really not be skipped, but fixed
2021-02-09 18:10:16 +01:00
Productive2 0a7db3ec0c Added printErr, tests to test the test suite 2021-02-09 16:59:34 +01:00
Productive2 6ff9577f66 Removed test duplicates, fixed tests.
Added documentation for the JATS markup.
2021-02-09 16:32:24 +01:00
Productive2 ad74c45213 Fixed debug.nim not showing DEBUG - before a message
Made whitespace significant in the test suite
Fixed tests with DEBUG - on partially
2021-02-09 15:00:18 +01:00
Productive2 671a50d1c2 The test suite works once again (this large rewrite added the new test
format)
Modified tests to the new format
2021-02-09 00:35:40 +01:00
Productive2 19df757201 bugfixes, and in progress debugging 2021-02-08 20:05:34 +01:00
Productive2 8d4af722f0 slashing bugs 2021-02-08 17:17:06 +01:00
nocturn9x 9ffff11bf9 Added an optional prompt parameter to readline and renamed it to readLine. Added string support in toInt 2021-02-04 12:03:10 +01:00
Productive2 76b92e85a7 new test notation (uses //stdout:, //stderr:) now
wip //stdin:
non-behaving tests get killed after a while now
added // exit and improved // clear repl commands
2021-01-30 18:42:04 +01:00
Productive2 8d93c3602f Added progress bar, polished the interface a bit 2021-01-29 19:56:23 +01:00
nocturn9x 71f79d8174 Fixed various minor bugs, improved debugger output and consistency 2021-01-16 18:14:22 +01:00
Productive2 bd7480f600 New long tests 2021-01-16 12:11:17 +00:00
nocturn9x f8ac8d08cb Removed short version of constants for benchmarking purposes and refactored the type system's behavior to return more consistent values 2021-01-16 11:47:01 +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 02bd218c14 Two new tests 2021-01-14 20:48:37 +00:00
nocturn9x 56938897d6 Fixed precedence of is added beta support for the as operator for casting 2021-01-12 12:10:15 +01:00
nocturn9x 3eeffabe7d Added the retNative enum for native functions to handle singletons properly, minor refactoring in the parser and the vm 2021-01-11 13:17:01 +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
Productive2 c360f27d8e New working test: problem2
New not working test: problem4
2021-01-05 21:12:32 +01:00
Productive2 5c8b0cb494 Added euler's problem 1 to tests
Added recursion to running tests
2021-01-05 20:51:05 +01:00
Productive2 2d2ef61fa1 Added bitwise operator tests
Fixed bitwise not crashing compiler when used as a binary op
2021-01-05 20:32:50 +01:00
Productive2 ded5b91950 New fibonacci test 2021-01-05 20:22:55 +01:00
Productive2 5aef0654dc Added a few basic tests 2021-01-05 14:02:04 +01:00
Productive2 de65ca3374 Runtests done
Removed trailing space from prints
Started arithmetic testing
2021-01-05 12:52:41 +01:00
nocturn9x 09e543d786 Fixed typos, minor improvements, added isCallable for objects 2020-10-26 22:55:20 +01:00