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 |
nocturn9x
|
89af076ef8
|
Added the -c command line option to run one-liners
|
2021-01-10 09:50:02 +01:00 |
nocturn9x
|
20b9554362
|
Changed the way tests are run
|
2021-01-10 09:49:35 +01:00 |
nocturn9x
|
10f250efe3
|
Updated README with new build options and fixed some typos
|
2021-01-10 09:49:09 +01:00 |
nocturn9x
|
feba92912c
|
Added var keyword to nanorc file
|
2021-01-10 09:02:06 +01:00 |
nocturn9x
|
63a7be8c3e
|
Created resources directories and added japl.nanorc syntax highlighting
|
2021-01-10 08:59:41 +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 |
nocturn9x
|
90d222a402
|
Updated gitignore to exclude tests and compiled binaries
|
2021-01-09 18:00:20 +01:00 |
Mattia
|
47aa7b81b0
|
Merge pull request #29 from Productive2/master
Testing improvements
|
2021-01-06 16:19:41 +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 |
nocturn9x
|
a58b8a9ef0
|
Removed unused/dead code + improved test suite code quality
|
2021-01-05 16:10:28 +01:00 |
nocturn9x
|
97b7c5d91e
|
Minor additions and fixes to README
|
2021-01-05 15:01:04 +01:00 |
Mattia
|
aaf2e66528
|
Merge pull request #28 from Productive2/master
Testing suite + debugger bugs + some binary operator fixes
|
2021-01-05 14:56:44 +01:00 |
nocturn9x
|
cb5eb78ff7
|
Fixed a bug in the debugger regarding the output of the global scope. Re-added the del statement + small fixes
|
2021-01-05 14:55:37 +01:00 |
Productive2
|
5aef0654dc
|
Added a few basic tests
|
2021-01-05 14:02:04 +01:00 |
Productive2
|
fb9bfd18e4
|
Merge remote-tracking branch 'upstream/master'
|
2021-01-05 13:17:18 +01:00 |
nocturn9x
|
d05e45d3b6
|
Changed native's string repr
|
2021-01-05 13:15:47 +01:00 |
Productive2
|
8fe70d2f95
|
Fixed debugger bugs
Made exponentiation larger precedence than unary
|
2021-01-05 13:15:43 +01:00 |
Productive2
|
9e4329981c
|
Made exponentiation higher precedence than multiplication
Fixed shebang
|
2021-01-05 13:02:14 +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 |
nocturn9x
|
875440ba8c
|
Made print a variadic function and added clock() for benchmarking
|
2021-01-05 09:35:18 +01:00 |
Mattia
|
1e2227ea38
|
Merge pull request #27 from Productive2/master
Natives
|
2021-01-05 00:41:11 +01:00 |
Productive2
|
586522ce44
|
Added Natives
Added stdlib.nim
Added print
|
2021-01-05 00:32:17 +01:00 |
Productive2
|
5609b7ad20
|
Merge remote-tracking branch 'upstream/master'
|
2021-01-04 23:50:09 +01:00 |
Productive2
|
67d4b77c8f
|
Beginning of a multibyte conversion helper
|
2021-01-04 23:49:30 +01:00 |
Mattia
|
554d761700
|
Merge pull request #26 from Productive2/master
Fixes #24 and a SetGlobals
|
2021-01-04 23:31:18 +01:00 |
Productive2
|
383af42d76
|
Fix VM's SetGlobal pop
Fix Wrong loop constants
|
2021-01-04 23:22:27 +01:00 |
nocturn9x
|
cead00061b
|
Added interning for compile-time strings, made gc:markAndSweep the default option in the build tool and fixed a bug with the compiler where it would not free its memory if it encountered an error
|
2020-12-28 10:09:52 +01:00 |
Productive2
|
b895399e01
|
Merge pull request #22 from Productive2/master
Fixes call frames, Op.SetLocal
|
2020-12-26 20:25:44 +01:00 |
Productive2
|
7d059bd50e
|
Fixes call frames, Op.SetLocal
|
2020-12-26 20:05:45 +01:00 |
nocturn9x
|
bfef0aa1a5
|
Removed redundant build.py
|
2020-12-26 17:10:01 +01:00 |
nocturn9x
|
1e8b4632e9
|
Attempt to fix function calls by using ref seqs (failed, lol). Now all math operations on nan raise a TypeError
|
2020-12-26 17:01:03 +01:00 |
nocturn9x
|
9e9dc3ac75
|
Removed a lot of redundant dereferencing in the compiler and fixed runtime objects memory leaking. Fixed some typos
|
2020-12-21 22:43:40 +01:00 |
nocturn9x
|
d27cc60891
|
Moved the templates inside vm.run into separate procedures. Fixed a couple of logical mistakes and renamed SliceRange to Slice and Slice to GetItem. Added the cache optimization to other singletons (nil, nan, inf)
|
2020-12-21 21:53:45 +01:00 |
nocturn9x
|
18823ccf0d
|
Fixed some of the bugs with function calls (recursion needs revision) and locals resolution. JumpIfFalse now always pops its operand even when the condition isn't met. Fixed a lot of typos inside types/jobject.nim caused by copy-paste errors and got rid of newString in favor of asStr
|
2020-12-21 18:37:08 +01:00 |
Mattia
|
f074b491c0
|
Merge pull request #21 from pokurt/build-improvement
Improvements to build
|
2020-11-16 08:03:45 +01:00 |