Commit Graph

536 Commits

Author SHA1 Message Date
611be55bbb
fix: should throw engine exceptions, not java exceptions 2024-12-09 22:15:38 +02:00
4992d0211b
fix: nasty issues with compilation 2024-12-09 22:15:15 +02:00
ba7505e148
fix: globalThis and for-in not parsed 2024-11-24 12:49:31 +02:00
3c13799c2f
feat: make function logging configurable 2024-11-24 12:49:04 +02:00
5c2fd00bfb
fix: add location data for LOAD_FUNCs 2024-11-24 12:48:49 +02:00
39eb6ffac5
fix: do variable inits properly 2024-11-24 12:48:30 +02:00
7f6df49fc5
fix: scope issues 2024-11-24 12:47:51 +02:00
61c5df5003
fix: gd damn it 2024-11-24 12:47:15 +02:00
41bb27e4dd
implement all changes in runtime 2024-11-23 20:15:42 +02:00
b4e7a42975
regress: remove ES6 stuff (except apply and construct constraints) from funcs 2024-11-23 20:11:57 +02:00
92fb0dbbfd
regress: simplify invoke model 2024-11-23 20:11:12 +02:00
fe8f65faf5
some final stuff in parsing 2024-11-23 20:10:47 +02:00
54fe16393a
regress: remove infrastructure for super references 2024-11-23 20:10:11 +02:00
14e4aade35
regress: remove infrastructure needed for ES6 stuff, simplify loops 2024-11-23 20:09:29 +02:00
754648fbf6
regress: remove ES6 instructions 2024-11-23 20:08:01 +02:00
20f2c3c5e9
regress: remove ES6 stuff from members 2024-11-23 20:07:10 +02:00
c5067cbfdd
regress: remove ES6 variables and simplify scope 2024-11-23 20:06:24 +02:00
5644966dd7
regress: remove ES6 nodes 2024-11-23 20:06:09 +02:00
50eb204da7
fix: remove unnecessary reference from core to compiler 2024-11-23 20:04:19 +02:00
45308e6d65
refactor: remove periods from ends of error msgs 2024-11-23 20:04:03 +02:00
0ebf189c95
fix: remove multi-key bullcrap 2024-11-23 20:01:00 +02:00
2fe5ce607a
fix: multiply acting as subtract 2024-09-21 19:01:05 +03:00
d821a3a89b
refactor: utilize inheritence in index.js 2024-09-21 18:46:22 +03:00
0064c74ac8
fix: don't allow execution of CALL_SUPER twice or in non-construct call 2024-09-21 18:46:02 +03:00
bd548c813a
fix: null out thisArg only when constructing 2024-09-21 18:45:38 +03:00
78af69ec80
fix: parseStatementEnd behaving incorrectly when EOF 2024-09-21 18:44:08 +03:00
98e5299f9c
fix: derived classes use the scope API incorrectly 2024-09-21 18:43:32 +03:00
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