Commit Graph

550 Commits

Author SHA1 Message Date
24a4a01d8e
fix warnings 2025-01-22 20:34:36 +02:00
b9a397a7b9
specify babel plugins separately 2025-01-22 20:34:31 +02:00
40f6cfe616
fix: make Function.compile do less stuff 2025-01-22 20:34:00 +02:00
f712fb09ae
refactor: merge TYPEOF instruction into OPERATION 2025-01-22 20:32:55 +02:00
6355a48c6b
fix: forEach is cringe 2025-01-22 20:21:32 +02:00
343684f9ce
move more instructions as intrinsics 2025-01-22 03:57:32 +02:00
582753440b
fix: remove unneeded LOAD_REGEX instruction 2025-01-22 01:54:29 +02:00
01e86b5e70 Merge pull request 'Write some tests' (#33) from topchetoeu/tests into master
Reviewed-on: #33
2025-01-15 18:23:24 +00:00
29b0c91c5d
fix: function mappings were registered incorrectly 2025-01-15 20:12:52 +02:00
961c8cefcc
make arguments null prototype, to follow spec closer 2025-01-15 19:54:12 +02:00
3b512b64eb
move buffers out of runtime 2025-01-15 19:52:53 +02:00
0118379d4e
simple func map tests 2025-01-15 19:51:35 +02:00
1be1cded9f
delete placeholder tests 2025-01-15 19:51:09 +02:00
c0b23d50e5
make common project classes hierarchy flat 2025-01-12 04:31:32 +02:00
cacffd01e8
move JSON and parsing logic to compiler project, decouple JSON and parser from engine logic 2025-01-12 04:27:43 +02:00
a115843351
parseRes tests 2025-01-12 03:23:35 +02:00
3623842827
sanitize Source.loc argument 2025-01-12 03:10:44 +02:00
24d0cb73b6
don't use JSON for parsing metadata 2025-01-11 15:21:14 +02:00
7a13b032f8
add environment tests 2025-01-11 14:19:19 +02:00
5a154c8a69
filename tests 2025-01-11 13:43:02 +02:00
ae77e3b55e
location tests 2025-01-11 13:42:53 +02:00
c8a89849ee
clearing up README 2025-01-10 04:53:11 +02:00
d563fc4919
build: split up into multiple projects, use kotlin DLS
All checks were successful
tagged-release / Tagged Release (push) Successful in 5m23s
2025-01-10 04:14:40 +02:00
9668bccef1
fix: circular dependency on metadata when parsing
All checks were successful
tagged-release / Tagged Release (push) Successful in 2m19s
2025-01-10 00:53:29 +02:00
1d50ff14c5
bump
All checks were successful
tagged-release / Tagged Release (push) Successful in 2m34s
2025-01-10 00:35:04 +02:00
a6c458cb23
rename project from jscript to j2s 2025-01-10 00:34:29 +02:00
31e2e95bc8
fix: prevent rollup from optimizing "void 0" to "undefined"
All checks were successful
tagged-release / Tagged Release (push) Successful in 2m29s
2025-01-09 00:13:14 +02:00
98dde69751
revert to coffeescript transpiler 2025-01-09 00:12:13 +02:00
ec1edb981e
fix: register sources before the next compiler gets invoked 2025-01-09 00:11:57 +02:00
36f9839485
fix: get rid of readonly for the Location type
(only caused headaches)
2025-01-09 00:10:15 +02:00
22f36267c0
feat: add prettier printing for arrays in debugger 2025-01-09 00:09:43 +02:00
f8b9776f28
fix: for-in loop doesn't declare its binding when it has to 2025-01-09 00:09:18 +02:00
12cff84666
fix: String.lastIndexOf's offset argument must default to the string's length 2025-01-09 00:08:14 +02:00
7058a689a2
fix: Object.defineProperty passes flags wrongly 2025-01-09 00:07:51 +02:00
fde8b42e36
fix: wrong return value from array.push and array.unshift 2025-01-09 00:07:17 +02:00
4ea14ca1f5
build: enable minification 2025-01-06 17:06:10 +02:00
f6ce261485
fix: add custom global functions to ts decls 2025-01-06 17:05:59 +02:00
51b347e0d7
fix: more stable engine exit 2025-01-06 17:05:37 +02:00
0b6484e0b4
fuck
All checks were successful
tagged-release / Tagged Release (push) Successful in 2m41s
2025-01-06 14:53:27 +02:00
07e0d0ba3b
fix script; bump version
Some checks failed
tagged-release / Tagged Release (push) Failing after 3m29s
2025-01-06 14:26:56 +02:00
93cae33bb0
fix: fix up script
Some checks failed
tagged-release / Tagged Release (push) Failing after 4m50s
2025-01-06 14:13:58 +02:00
b1e0db627c
fix typings so they are usable for building the project itself
Some checks failed
tagged-release / Tagged Release (push) Failing after 3m24s
2025-01-06 14:02:07 +02:00
4fd05e9e6f
fix up build scripts
Some checks failed
tagged-release / Tagged Release (push) Failing after 3m48s
2025-01-06 13:31:17 +02:00
de93adde8f
fix: some source mapping fixes 2025-01-06 13:24:58 +02:00
5c68c1717c
feat: implement some typed arrays 2025-01-06 13:24:44 +02:00
7883af7fff
fix: some array function fixes 2025-01-06 13:24:09 +02:00
3d5be60fc7
feat: honor passed set in toReadableLines 2025-01-06 13:22:58 +02:00
ba0b4e06ad
fix: some debugger issues 2025-01-06 13:22:26 +02:00
58e3546459
implement __proto__ field for all objects 2025-01-06 13:22:06 +02:00
57097e46ca
reorganize libs 2025-01-06 13:20:51 +02:00