summaryrefslogtreecommitdiff
path: root/js-runtime/reflect.js
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2023-10-25 08:20:48 -0400
committerDavid Thompson <dthompson2@worcester.edu>2023-10-25 08:38:11 -0400
commit3a1afc62724f1631f23b5aa044856f7d09db14eb (patch)
treecbede9ae3bc131b244b99d1005b85ec5cef32df0 /js-runtime/reflect.js
parent2f1022f1d65b148524dc8f0c824aaca6e9392996 (diff)
Lots of changes!
* Update reflect library * Text alginment * Tiled map compilation!
Diffstat (limited to 'js-runtime/reflect.js')
-rw-r--r--js-runtime/reflect.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js-runtime/reflect.js b/js-runtime/reflect.js
index 0662ea5..7ba19b7 100644
--- a/js-runtime/reflect.js
+++ b/js-runtime/reflect.js
@@ -360,6 +360,7 @@ class SchemeModule {
#io_handler;
#debug_handler;
static #rt = {
+ bignum_from_string(str) { return BigInt(str); },
bignum_from_i32(n) { return BigInt(n); },
bignum_from_i64(n) { return n; },
bignum_from_u64(n) { return n < 0n ? 0xffff_ffff_ffff_ffffn + (n + 1n) : n; },