Commit Graph

245 Commits

Author SHA1 Message Date
078d7ed95f
refactor: improve Engine API 2023-12-24 14:26:42 +02:00
93973c12b1
fix: change default return type to void for generators 2023-12-24 14:10:03 +02:00
cad4f34b51
fix: use correct env declarations in bootstrap.js 2023-12-24 14:08:20 +02:00
caf9131cde
refactor: replace all CRLF with LF 2023-12-22 10:45:04 +02:00
380a5c720a
feat: make environment hidable from stack trace 2023-12-18 22:38:26 +02:00
76c3d377af
feat: use mappings in stack traces 2023-12-18 22:30:14 +02:00
42f443572a
fix: how the hell did i fix this (it was the cache all along) 2023-12-18 22:11:08 +02:00
773bc72f3e
refactor: rename compileWithDebug to compile 2023-12-14 21:07:16 +02:00
0b5178e9fd
fix: return minified typescript 2023-12-14 21:06:23 +02:00
8cffcff7db
refactor: remove unused instructions 2023-12-14 17:02:24 +02:00
60bbaaccd4
fix: some issues with try-catch 2023-12-14 16:49:51 +02:00
60b1762462
refactor: remove printf 2023-12-14 16:49:35 +02:00
34434965d2
cant be fucked to split this one up 2023-12-14 12:39:01 +02:00
fe86123f0f
refactor: improve function statement 2023-11-29 13:04:41 +02:00
d5e6edfa8b
refactor: replace .locate with argument 2023-11-29 13:03:53 +02:00
73345062ca
feat: implement new API with source maps 2023-11-28 21:40:37 +02:00
124341969c
fix: simplify source map API 2023-11-28 21:39:25 +02:00
8defd93855
fix: use proper name for native constructors 2023-11-28 21:37:46 +02:00
6c57e0e9f2
fix: properly handle wrapper function 2023-11-28 21:37:13 +02:00
f1932914ee
fix: move debugger assets to correct location 2023-11-27 20:28:02 +02:00
977701e601
feat: implement source maps 2023-11-26 16:50:07 +02:00
e8a7ac8da8
refactor: reorganize assets 2023-11-26 16:49:47 +02:00
6b1cb852c2
fix: arrays wrongly stringified in JSONLib 2023-11-26 13:51:56 +02:00
b59a003086
feat: implement VLQ parsing 2023-11-26 13:51:43 +02:00
1902e41f61
feat: make typescript output mappings 2023-11-26 11:52:47 +02:00
27162ef8ac
feat: improve Bufffer API 2023-11-26 11:51:32 +02:00
4f22e76d2b
fix: make code java 11 compatible 2023-11-25 20:22:16 +02:00
ab56908171
fix: faulty insufficient permissions error 2023-11-25 20:09:59 +02:00
eb14bb080c
fix: debugger breakpoints not registered 2023-11-25 20:09:47 +02:00
f52f47cdb4
feat: properly implement filesystems 2023-11-25 19:36:18 +02:00
567eaa8514
fix: incorrect declarations 2023-11-25 19:13:20 +02:00
2cfdd8e335
feat: add utf8 encoding and decoding 2023-11-25 19:12:56 +02:00
4b1ec671e2
fix: micro tasks not handled properly 2023-11-25 18:58:35 +02:00
b127aadcf6
fix: promise was sending macro tasks instead of micro 2023-11-25 18:58:24 +02:00
b6eaff65ca
style: remove unnececeary import 2023-11-25 18:48:46 +02:00
443dc0ffa1
feat: add await function to promise 2023-11-25 18:47:51 +02:00
e107dd3507
fix: promise doesn't use microtasks in some cases 2023-11-25 18:47:36 +02:00
6af3c70fce
feat: add filesystem libs 2023-11-25 18:47:01 +02:00
8b743f49d1
feat: add toString, equals and hashCode overrides to wrappers and objects 2023-11-25 18:46:13 +02:00
e1ce384815
feat: add parse function to Filename 2023-11-25 18:44:27 +02:00
86d205e521
fix: parsing files won't modify last instruction to RET, instead will just append it 2023-11-25 18:44:11 +02:00
f0ad936e5b
refactor: use new iterable names 2023-11-25 18:43:43 +02:00
4a1473c5be
fix: sorting with no comparator now works 2023-11-25 18:42:54 +02:00
4111dbf5c4
fix: functions now print their name when stringified 2023-11-25 18:41:47 +02:00
1666682dc2
refactor: get rid of data parent hierarchy 2023-11-25 18:41:18 +02:00
f2b33d0233
feat: add support for async iterators
fix: comparasions had small behavioural issue
2023-11-25 18:40:49 +02:00
f5a0b6eaf7
fix: some improvements of compiled bytecode 2023-11-25 18:38:43 +02:00
829bea755d
fix: CodeFrame didnt't handle out of bounds jumps well 2023-11-25 18:38:16 +02:00
4b0dcffd13
feat: add fs declarations in lib.d.ts 2023-11-25 18:37:40 +02:00
987f8b8f00
fix: handle native errors properly-ish 2023-11-25 14:18:46 +02:00
55e3d46bc2
feat: implement memory and root fs 2023-11-25 14:18:04 +02:00
3e25068219
feat: implement bulk of fs 2023-11-25 14:17:37 +02:00
7ecb8bfabb
feat: implement permissions 2023-11-25 14:16:02 +02:00
488deea164
fix: improve performance of typescript by caching separate declarations 2023-11-14 09:24:39 +02:00
ed08041335
fix: internal error when trying to use key of "undefined" 2023-11-14 09:24:00 +02:00
0a4149ba81
fix: remove double space in "Uncaught ..." 2023-11-14 09:23:15 +02:00
30f5d619c3
fix: errors now have the right prototype and name 2023-11-14 09:22:56 +02:00
e7dbe91374
refactor: clean up protocol.json 2023-11-13 20:06:07 +02:00
455f5a613e
feat: implement simple permission matching 2023-11-13 19:09:33 +02:00
1eeac3ae97
fix: replace templates in Metadata class with placeholder data 2023-11-13 19:08:56 +02:00
1acd78e119
refactor: clean up Main class 2023-11-13 18:56:59 +02:00
df9932874d
feat: remove unnececeary @NativeInit directives 2023-11-06 14:03:15 +02:00
b47d1a7576
refactor: remove StackData and Data usage 2023-11-06 13:53:36 +02:00
fdfa8d7713
refactor: some minor fixes, rewrite README example 2023-11-06 10:55:38 +02:00
f5d1287948
fix: some annoying bugs, as well as splice 2023-11-06 00:55:30 +02:00
e3104c223c
fix: remove some unnececeary logs 2023-11-05 20:29:21 +02:00
1d0bae3de8
feat: include typescript code in source code 2023-11-05 20:27:23 +02:00
b66acd3089
fix: several more fixes 2023-11-05 19:44:44 +02:00
e326847287
feat: send value stack to debug client 2023-11-05 19:44:35 +02:00
26591d6631
fix: lazy operators incorrectly pop values from stack 2023-11-05 19:44:08 +02:00
af31b1ab79
fix: several small fixes 2023-11-05 19:43:53 +02:00
f885d4349f
refactor: fix some bad code >:( 2023-11-05 19:43:28 +02:00
d57044acb7
fix: several bug fixes to help with typescript support 2023-11-05 12:44:29 +02:00
7df4e3b03f
fix: oops 2023-11-04 11:43:57 +02:00
ed1009ab69
refactor: some code restructuring in the debugging 2023-11-04 11:42:06 +02:00
f856cdf37e
fix: messages larger than 64KB are now fragmented properly 2023-11-04 11:41:31 +02:00
4f82574b8c
fix: various small behavioural issues
fix: pesky try-catch logic
2023-11-04 11:40:50 +02:00
ac128d17f4
feat: implement Array.reduce
fix: native functions are now named
2023-11-04 11:38:29 +02:00
6508f15bb0
refactor: remove typescript source code from repo (for now) 2023-11-04 11:37:13 +02:00
69f93b4f87
refactor: make filenames more consistent 2023-11-04 11:36:36 +02:00
b675411925
fix: a lot of minor bugs 2023-10-29 23:47:48 +02:00
d1e93c2088
Merge branch 'master' of https://github.com/TopchetoEU/java-jscript 2023-10-29 12:33:18 +02:00
942db54546
feat: improve vscode debugging compatibility 2023-10-29 12:30:43 +02:00
d20df66982
feat: improve vscode debugging compatibility 2023-10-29 12:25:33 +02:00
dc9d84a370
chore: nothing of use 2023-10-28 17:10:27 +03:00
edb71daef4
feat: fully implement local and capture scope object wrappers
feat: implement object sending and receiving
2023-10-28 16:58:33 +03:00
4b84309df6
feat: complete steptrough and breakpoints in debugger 2023-10-27 15:12:14 +03:00
d2d9fa9738
fix: exit now works 2023-10-07 14:08:47 +03:00
a4e5f7f471
refactor: clean up useless catch blocks 2023-10-07 13:55:44 +03:00
cc044374ba
refactor: replace InterruptedException with unchecked alternative 2023-10-07 13:42:55 +03:00
517e3e6657
refactor: clean up context and stack data 2023-10-07 13:07:07 +03:00
926b9c17d8
feat: readd JSON to lib 2023-10-06 18:42:35 +03:00
fc705e7383
feat: readd date internals 2023-10-06 12:03:33 +03:00
a17ec737b7
refactor: rename polyfills to libs 2023-10-06 11:57:29 +03:00
952a4d631d
fix: keep order of object fields 2023-10-04 22:06:49 +03:00
9743a6c078
fix: cache function bodies 2023-10-04 21:34:33 +03:00
21a6d20ac5
refactor: some code cleanup, emit better bytecode 2023-10-04 12:16:06 +03:00
604b752be6
feat: add global functions 2023-10-04 08:49:20 +03:00
6c7fe6deaf
feat: add old data to both subcontexts 2023-10-04 08:30:33 +03:00
68f3b6d926
feat: fully remove typescript init code 2023-10-04 08:10:26 +03:00
63b04019cf
feat: implement timers in java 2023-09-28 10:25:32 +03:00
9c65bacbac
fix: type name can f itself 2023-09-28 09:38:51 +03:00
0dacaaeb4c
a lot of fixes 2023-09-27 15:08:23 +03:00
c1b84689c4
fix: rewrite try-catch-finally logic 2023-09-27 10:27:19 +03:00
bd08902196
fix: revert back to old error protocol 2023-09-27 10:27:04 +03:00
22ec95a7b5
feat: implement errors 2023-09-26 22:54:12 +03:00
6c71911575
feat: implement symbols in java 2023-09-26 11:29:49 +03:00
e16c0fedb1
feat: implement map and set polyfills in java 2023-09-26 08:31:27 +03:00
cf36b7adc5
fix: some string polyfill fixes 2023-09-25 18:33:07 +03:00
47c62128ab
feat: implement string polyfill in java 2023-09-25 18:18:36 +03:00
4aaf2f26db
feat: add some standard functions to Number 2023-09-24 20:50:53 +03:00
f21cdc831c
fix: primitive values will be native classes now 2023-09-24 14:15:12 +03:00
86b206051d
feat: implement bool polyfills in java 2023-09-24 13:49:37 +03:00
f2cd50726d
feat: implement array polyfills in java 2023-09-24 12:56:53 +03:00
0b7442a3d8
fix: remove raw native funcs, use this arg passing instead 2023-09-21 10:50:03 +03:00
356a5a5b78
feat: a lot of typescript corelibs translated to java 2023-09-20 23:02:23 +03:00
da4b35f506
feat: Create filesystem interface and a physical filesystem 2023-09-18 10:31:50 +03:00
692fae4049
feat: some cleanup 2023-09-09 18:55:20 +03:00
fea17d944b
fuck 2023-09-09 18:12:24 +03:00
8fb01e1091
fix: remove try_break and try_cont (dead code) 2023-09-09 18:12:20 +03:00
1ce5fc9d99
refactor: move parse to Contetx 2023-09-09 18:09:20 +03:00
0e04459fe7
feat: implement new system for context tracking 2023-09-09 17:32:46 +03:00
38656bd654
fix: small issues 2023-09-07 16:35:49 +03:00
29d3f378a5
major changes in preparations for environments 2023-09-04 14:30:57 +03:00
d1b37074a6
fix: resturcture build pipeline 2023-08-29 11:49:27 +03:00
a1e07a8046
fix: reprogram standard library for env api 2023-08-27 21:21:25 +03:00
d05cd19414
more fixes 2023-08-26 12:01:02 +03:00
33d96429f4
remove formatted 2023-08-26 11:56:14 +03:00
51789efd90
remove toList 2023-08-26 11:53:09 +03:00
480293734b
remove all records 2023-08-26 11:49:00 +03:00
50739de70c
fix: properly initialize Infinity and NaN 2023-08-26 11:13:23 +03:00
7a745faacf
feat: implement async generators 2023-08-26 00:41:28 +03:00
8a0d309f0f
feat: fully remove async functions 2023-08-25 23:49:31 +03:00
c5a4167c94
feat: make generator function 2023-08-25 23:48:40 +03:00
91579bd3a0
fix: import './ts' instead of './ts__' 2023-08-25 17:11:08 +03:00
991f957f44
fix: await in async func throws properly 2023-08-25 17:00:47 +03:00
396d7ca5a2
small fixes 2023-08-25 14:32:13 +03:00
0ea01996ee
feat: make try-catch call-less 2023-08-25 14:26:08 +03:00
bef35ebb1b
fix: include JSON.stringify in polyfills 2023-08-25 11:53:27 +03:00
b8b000ddf0
feat: merge all operation instructions in one 2023-08-25 11:08:57 +03:00
79a93ef971
feat: add async function 2023-08-23 11:47:50 +03:00
6da7720c67
feat: add support for member class wrappers 2023-08-21 11:02:06 +03:00
7e6a1e03c8
fix: use linked hashmap for object statement 2023-08-21 01:01:57 +03:00
5629b9ab25
me is idiot 2023-08-05 18:41:02 +03:00
2858d685ad
initial commit 2023-08-05 18:37:18 +03:00