Commit Graph

213 Commits

Author SHA1 Message Date
bf38587271
feat: readd module API via env API 2023-12-27 13:15:46 +02:00
21534efd60
feat: readd FS API via new env API 2023-12-27 13:14:46 +02:00
802f2f3f52
fix: access env via context 2023-12-27 13:14:09 +02:00
38acc20a6f
refactor: greatly improve Environment API 2023-12-26 17:12:20 +02:00
d7f6010319
fix: make code java 11 compatible 2023-12-26 14:22:35 +02:00
2f58f6b245
feat: implement basic module system 2023-12-26 14:12:41 +02:00
4bc363485f
fix: losts of FS API improvements 2023-12-26 14:02:32 +02:00
8e01db637b
fix: improve path resolutions and FS API 2023-12-26 11:27:40 +02:00
1c64912786
feat: create memory-light directory list file 2023-12-26 11:27:09 +02:00
28265a8f44
fix: some bug fixes and improvements with File interface 2023-12-26 11:26:08 +02:00
e9e020512e
fix: environment pushed when it shouldn't be 2023-12-24 15:17:38 +02:00
4b0bbf5190
fix: correctly convert virtual to real path 2023-12-24 14:40:27 +02:00
031f78ebf1
fix: don't include ts's code in repo anymore 2023-12-24 14:32:37 +02:00
90da2db1fb
fix: error now is not null-prototyped 2023-12-24 14:30:48 +02:00
3d275c52c0
refactor: fix code to not result in compile warning 2023-12-24 14:30:31 +02:00
797585f539
feat: implement some stdlib functions 2023-12-24 14:28:12 +02:00
7a301eba8f
fix: some stupid mistakes in FS 2023-12-24 14:27:27 +02:00
1b2068a274
fix: never-ending try-catch issues 2023-12-24 14:27:00 +02:00
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