Commit Graph

559 Commits

Author SHA1 Message Date
797452c28f
fix: tmp variables captured incorrectly 2024-09-21 18:43:15 +03:00
fee74dcba4
fix: infinite loop in class parser 2024-09-21 18:42:51 +03:00
9845a39e84
fix: operations polluting stack 2024-09-21 18:42:34 +03:00
ee78bdc1cb
feat: implement derived classes 2024-09-21 18:06:03 +03:00
7fcb9ed19f
fix: member field initializers should be iterable 2024-09-20 11:39:48 +03:00
8dee4353d4
feat: implement non-enumerable members in classes 2024-09-20 11:39:46 +03:00
59e6f34a01
refactor: clean up REPL stringification code 2024-09-20 11:39:40 +03:00
fdac93bf4d
fix: scope offsets calculated incorrectly 2024-09-20 11:39:34 +03:00
06eae2eaf2
Merge pull request #29 from TopchetoEU/TopchetoEU/classes
Classes
2024-09-19 15:21:01 +00:00
d7b50fa45b
refactor: use classes in index.js 2024-09-19 18:11:42 +03:00
077e8afff7
fix: some behavioral issues 2024-09-19 18:11:35 +03:00
631ef9db4a
fix: differenciate between non-functions and non-invokables in messages 2024-09-19 18:10:50 +03:00
0258cc0a90
feat: implement classes (without inheritence) 2024-09-19 18:09:28 +03:00
0b3dca8b13
refactor: extract members into own classes 2024-09-19 18:08:11 +03:00
6d56660136
fix: stupid mistake with variable capturing 2024-09-19 14:22:21 +03:00
8a21873631
fix: retrofit patterns for bindings and check if var is init in runtime 2024-09-19 11:02:02 +03:00
fbbd26bf7d
fix: remove unneeded comments 2024-09-14 22:08:33 +03:00
e2a8a382cc
refactoring 2024-09-14 21:33:33 +03:00
0670ffcdd1
fix: int value not correctly recognized 2024-09-14 19:54:42 +03:00
9b957335bf
optimization: keep StringValue instances tied to one String instance 2024-09-14 19:45:05 +03:00
e9f889576c
feat: implement hidden integers 2024-09-14 19:38:30 +03:00
e11d182631
refactor: remove dead code 2024-09-14 18:52:07 +03:00
30674ee463
refactor: get rid of InterruptException 2024-09-14 18:46:47 +03:00
fab3e59910
feat: implement a byte array 2024-09-14 18:46:28 +03:00
d7e4e7a024
refactor: oops 2024-09-14 18:45:55 +03:00
e4166fe450
refactor: rewrite some code for java 8 compatibility 2024-09-14 18:45:20 +03:00
b5b7781136
Merge pull request #28 from TopchetoEU:TopchetoEU/destructing
TopchetoEU/destructing
2024-09-14 15:38:02 +03:00
f13bf584a5
feat: add some missing features in the polyfills 2024-09-14 15:25:34 +03:00
4e8b110fc4
feat: add assign shorthands 2024-09-14 14:33:09 +03:00
cb82f4cf32
feat: implement patterns 2024-09-14 14:23:46 +03:00
23ae2b2e46
todo 2024-09-14 14:23:35 +03:00
55613ef2c9
feat: extend the instruction set 2024-09-14 14:23:28 +03:00
0b34c68139
fix: unnecessary new line in toReadable 2024-09-14 14:22:51 +03:00
d87e53264d
refactor: split array logic 2024-09-14 14:22:31 +03:00
1f42263051
clean up member logic 2024-09-14 13:53:58 +03:00
3e6816cb2c
fix: properly hande variable collisions 2024-09-12 20:25:11 +03:00
2a01b3d86e
some work losl 2024-09-07 21:06:08 +03:00
8e64d13c87
refactor: clean up assigning 2024-09-06 15:48:22 +03:00
5f88061ee7
refactor: rename callNew -> construct and call -> invoke 2024-09-06 15:48:07 +03:00
b9268518f6
fix: array statements broken when empty elements 2024-09-06 15:46:10 +03:00
63ccd5757e
feat: implement spread_obj intrinsic 2024-09-06 10:03:55 +03:00
515011b3ef
refactor: improve meber listing system 2024-09-06 10:03:37 +03:00
b6f04aa177
Merge pull request #27 from TopchetoEU/TopchetoEU/optimize-var-flatten
Optimize var flattening
2024-09-05 22:32:48 +03:00
6f548ce5ff
feat: reflect scope optimizations in runtime 2024-09-05 22:30:28 +03:00
7c74df4d36
refactor: use new system to reorder variables that overlaps neighboring scopes 2024-09-05 21:25:39 +03:00
641d4d1863
Merge pull request #26 from TopchetoEU/ES6
ES6 Support Groundwork + Fixes
2024-09-05 17:26:07 +03:00
0004839f6f
fix: realloc for declarations after each iteration 2024-09-05 17:15:26 +03:00
07411f62c8
feat: implement capturable locals realloc 2024-09-05 17:14:59 +03:00
4bfc062aaf
fix: correctly flatten locals in control flow statements 2024-09-05 17:13:34 +03:00
9ec99def3f
fix: variable declarations shouldn't collide with defined name of named function exp 2024-09-05 13:29:42 +03:00