Commit Graph

374 Commits

Author SHA1 Message Date
Productive2 bc2a2ac74d Finished moving around code for better modularity
Added testobject, repurposed testutils
2021-01-30 17:07:05 +01:00
Productive2 e2b45dd1dc moved log stuff to logutils 2021-01-30 17:00:42 +01:00
nocturn9x f11d697f60 Updated build script 2021-01-30 13:47:05 +01:00
Productive2 5f56081efe Better TUI 2021-01-30 11:29:43 +01:00
Productive2 1990fde212 Add copyright info
tweak the 'less' command usage for -i
2021-01-30 10:38:47 +01:00
Mattia deb52efe88
Merge pull request #36 from Productive2/master
Testing suite v2
2021-01-29 22:47:26 +01:00
Productive2 4137497963 Now -h and -v options dont run any tests ;) 2021-01-29 20:15:34 +01:00
Productive2 bc7ba95baa small fix 2021-01-29 20:14:01 +01:00
Productive2 8eb33fe93a Nim tests in place now. 2021-01-29 20:11:06 +01:00
Productive2 8d93c3602f Added progress bar, polished the interface a bit 2021-01-29 19:56:23 +01:00
Productive2 29858360eb Update build.py to support jats 2021-01-29 18:42:45 +01:00
Productive2 619873f01f Test suite v2 progress 2021-01-29 18:14:57 +01:00
nocturn9x c621ce09b3 Changed equality for function objects (moved to pointer equality). TODO: Fix integer identity bug 2021-01-29 15:34:05 +01:00
nocturn9x 807237b884 Removed binary file 2021-01-27 15:51:29 +01:00
nocturn9x 787d34a8b5 Added WIP implementation of a generic hashmap that should behave better with JAPL's own memory manager 2021-01-27 15:51:15 +01:00
nocturn9x fa9594f855 Improved test suite colored output 2021-01-18 11:05:37 +01:00
nocturn9x ab795fa824 Fixed typo and removed orc from supported GCs list 2021-01-17 17:00:28 +01:00
nocturn9x 74d68871cb Changed markAndSweep to regions 2021-01-17 16:56:10 +01:00
nocturn9x fb34faac2d Added a generic custom sequence implementation to replace nim's seq type and moved as much functionality as possible from nim to us in order to avoid GC clashes 2021-01-17 16:54:55 +01:00
nocturn9x 71f79d8174 Fixed various minor bugs, improved debugger output and consistency 2021-01-16 18:14:22 +01:00
nocturn9x e15e03764e Added support for 0-argument functions and lambdas without parentheses 2021-01-16 15:11:09 +01:00
Mattia c45145b3b3
Merge pull request #34 from Productive2/master
Fix #25 and test suite for longs
2021-01-16 14:28:26 +01:00
Productive2 bd7480f600 New long tests 2021-01-16 12:11:17 +00:00
Productive2 22788fad3b Fix #25 2021-01-16 11:58:56 +00:00
Mattia 458dd09e08
Added notes on installing and environment variabes 2021-01-16 12:06:30 +01: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
nocturn9x 3a55cbca38 Updated .gitignore 2021-01-14 21:58:38 +01:00
Mattia b8346e5510
Merge pull request #33 from Productive2/master
Two new tests
2021-01-14 21:53:31 +01:00
Productive2 02bd218c14 Two new tests 2021-01-14 20:48:37 +00:00
nocturn9x 260cd5b515 Reset permissions to 644 2021-01-14 16:04:53 +01:00
nocturn9x 6f0ce78dbc Removed useless files 2021-01-14 16:04:25 +01:00
nocturn9x 22184a35fd Removed useless files 2021-01-14 16:04:12 +01:00
nocturn9x 28abedf498 Added support for environment variables in build.py and refactored anonymous functions to use the lambda keyword 2021-01-14 16:03:31 +01:00
nocturn9x 2e60ab9fb6 Added a beta implementation for arrow functions 2021-01-14 12:55:51 +01: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 15072d3c56 Minor fixes and improvements to README 2021-01-12 10:04:32 +01:00
nocturn9x 766f0162ba Added when clause for strformat import and changed NilAccessError to NilAccessDefect 2021-01-12 09:57:06 +01:00
nocturn9x 1e353ef1cc Fixed a precedence bug with the is operator and added getBoolean to OpCode.Not in the VM 2021-01-12 09:55:41 +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
nocturn9x c882281944 Removed var parameters for the Lexer object and re-added the ! token 2021-01-11 11:31:37 +01:00
nocturn9x a62198a152 Changed the logical not operator from ! to not for consistency with other operators (and, or, is) 2021-01-11 11:07:39 +01:00
nocturn9x 421f93598f Made keeping the testresults.txt file an optional flag in build.py 2021-01-11 10:35:21 +01:00
nocturn9x d0c6240b5a Removed some more duplicate code fragments from some opcodes 2021-01-11 08:42:05 +01:00
nocturn9x 064b3f087b Removed duplicate code fragments from some opcodes 2021-01-11 08:40:28 +01:00
nocturn9x c79095c99b Merge branch 'master' of https://github.com/japl-lang/japl 2021-01-11 08:07:02 +01:00
nocturn9x 410a557ce5 Fixed a bug with the compiler where it would crash with incomplete assignment expressions 2021-01-11 08:06:55 +01:00
Mattia e9a57b8f1e
Merge pull request #32 from Productive2/master
Improving the testing
2021-01-10 20:45:39 +01:00
Productive2 390087dab5 Testing now supports testing for JAPL exceptions... kinda 2021-01-10 20:33:29 +01:00
Productive2 f6d7d82d62 gitignore bump,
working on maketest
2021-01-10 20:03:47 +01:00