Commit Graph

364 Commits

Author SHA1 Message Date
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
Productive2 2f2180b6e7 Maketest prototype 2021-01-10 19:59:05 +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 b52585817f Typos and small fixes 2021-01-10 10:35:34 +01:00
Mattia 452a7ab02c
Merge pull request #31 from LucaTheHacker/patch-1
General refactor
2021-01-10 10:33:31 +01:00
Dametto Luca 1160d9e4f0
General refactor
Fixed bad markdown usage, added right checkboxes for features (instead of a dumb-choice emoji), fixed spacing between titles and lists.
2021-01-10 10:31:09 +01:00
nocturn9x b3d5f6e317 Updated markdown 2021-01-10 10:15:00 +01:00
nocturn9x 64dfb219f7 Reverted semicolons patch to lexer (rework needed) and removed wrong bounds check from frame.nim 2021-01-10 10:06:20 +01:00
nocturn9x 0b3614d1e7 Improved debugging output 2021-01-10 09:50:43 +01:00
nocturn9x 612ec1bfd0 Made semicolons optional 2021-01-10 09:50:27 +01:00