├── .c8rc.json ├── .dockerignore ├── .eslintignore ├── .eslintrc.cjs ├── .gitattributes ├── .github └── workflows │ ├── on_push_main.yaml │ ├── on_tag_repository.yaml │ └── tests.yaml ├── .gitignore ├── .npmrc ├── CONTRIBUTING.md ├── DOC.md ├── Dockerfile ├── LICENSE ├── NOTICE ├── README.md ├── bin ├── asc.js └── asinit.js ├── cli ├── README.md ├── index.d.ts ├── index.js ├── options.json └── tsconfig.json ├── hook-api-examples ├── blocklist │ ├── blacklist.ts │ ├── block-unblock.js │ ├── blocklist.ts │ ├── decode.js │ ├── deploy-blacklist.js │ ├── deploy-blocklist.ts │ ├── key.js │ ├── package.json │ ├── patches │ ├── pay.js │ └── yarn.lock ├── carbon │ ├── carbon.ts │ ├── deploy.js │ ├── package.json │ ├── patches │ ├── pay.js │ └── yarn.lock ├── direct-debit │ ├── decode.js │ ├── deploy.js │ ├── direct-debit.ts │ ├── package.json │ ├── patches │ ├── pull.js │ ├── reset.js │ └── yarn.lock ├── firewall │ ├── deploy.js │ ├── firewall.ts │ ├── package.json │ ├── patches │ └── yarn.lock ├── high-value-payment │ ├── deploy.js │ ├── high-value-payment.ts │ ├── package.json │ ├── patches │ ├── pay.js │ ├── pre-clear.js │ └── yarn.lock ├── notary │ ├── authorize.js │ ├── deploy.js │ ├── notary.ts │ ├── package.json │ ├── patches │ ├── propose.js │ ├── sign.js │ └── yarn.lock ├── patches │ └── ripple-binary-codec+1.4.2.patch ├── peggy │ ├── decode.js │ ├── deploy.js │ ├── package.json │ ├── patches │ ├── pay-usd.js │ ├── pay-xrp.js │ ├── peggy.ts │ ├── trust-oracle.js │ ├── trust-user.js │ └── yarn.lock ├── savings │ ├── deploy.js │ ├── package.json │ ├── patches │ ├── savings.ts │ └── yarn.lock ├── starter │ ├── deploy.js │ ├── package.json │ ├── patches │ ├── pay.js │ ├── starter.ts │ └── yarn.lock └── yarn.lock ├── lib ├── README.md ├── binaryen.d.ts ├── binaryen.js ├── loader │ ├── README.md │ ├── index.d.ts │ ├── index.js │ ├── package-lock.json │ ├── package.json │ ├── tests │ │ ├── assembly │ │ │ ├── index.ts │ │ │ └── tsconfig.json │ │ ├── build │ │ │ ├── default.wasm │ │ │ └── legacy.wasm │ │ ├── index.html │ │ ├── index.js │ │ └── umd │ │ │ ├── index.js │ │ │ └── package.json │ └── umd │ │ ├── index.d.ts │ │ ├── index.js │ │ └── package.json └── rtrace │ ├── README.md │ ├── bin │ └── rtplot.js │ ├── index.d.ts │ ├── index.js │ ├── package.json │ ├── plot.js │ ├── tests │ └── index.js │ ├── tlsfvis.html │ └── umd │ ├── index.d.ts │ ├── index.js │ └── package.json ├── media ├── architecture.png ├── architecture.svg ├── architecture.xml ├── icon.png └── icon.svg ├── package.json ├── scripts ├── README.md ├── build-dts.js ├── build-web.js ├── build.js ├── hexfloat.html ├── hexfloat.js ├── lkg.js ├── unicode-identifier.js └── update-constants.js ├── src ├── README.md ├── asconfig.json ├── ast.ts ├── bindings.ts ├── bindings │ ├── js.ts │ ├── tsd.ts │ └── util.ts ├── builtins.ts ├── common.ts ├── compiler.ts ├── diagnosticMessages.json ├── diagnostics.ts ├── extra │ ├── README.md │ ├── ast.ts │ └── tsconfig.json ├── flow.ts ├── glue │ ├── README.md │ ├── binaryen.d.ts │ ├── binaryen.js │ ├── js │ │ ├── collections.d.ts │ │ ├── collections.js │ │ ├── float.d.ts │ │ ├── float.js │ │ ├── i64.d.ts │ │ ├── i64.js │ │ ├── index.ts │ │ └── node.d.ts │ ├── tsconfig.json │ └── wasm │ │ ├── collections.ts │ │ ├── float.ts │ │ ├── i64.ts │ │ ├── index.ts │ │ └── tsconfig.json ├── index-js.ts ├── index-wasm.ts ├── index.ts ├── module.ts ├── parser.ts ├── passes │ ├── ministack.ts │ ├── pass.ts │ ├── rtrace.ts │ └── shadowstack.ts ├── program.ts ├── resolver.ts ├── tokenizer.ts ├── transforms.ts ├── tsconfig.json ├── types.ts ├── util.ts └── util │ ├── binary.ts │ ├── collections.ts │ ├── math.ts │ ├── path.ts │ ├── terminal.ts │ ├── text.ts │ └── vector.ts ├── std ├── README.md ├── assembly.json ├── assembly │ ├── account.ts │ ├── amount.ts │ ├── apierror.ts │ ├── array.ts │ ├── arraybuffer.ts │ ├── atomics.ts │ ├── bindings │ │ ├── accum.ts │ │ ├── accumupto.ts │ │ ├── asyncify.ts │ │ ├── dom.ts │ │ ├── encode.ts │ │ ├── hookapi.ts │ │ └── node.ts │ ├── builtins.ts │ ├── compat.ts │ ├── console.ts │ ├── copy.ts │ ├── copyupto.ts │ ├── crypto.ts │ ├── dataview.ts │ ├── date.ts │ ├── decimalfloat.ts │ ├── diagnostics.ts │ ├── emitspec.ts │ ├── eq.ts │ ├── error.ts │ ├── function.ts │ ├── hooknamespace.ts │ ├── hookstate.ts │ ├── index.d.ts │ ├── invoice.ts │ ├── iterator.ts │ ├── keylet.ts │ ├── ledgerdate.ts │ ├── map.ts │ ├── math.ts │ ├── memory.ts │ ├── number.ts │ ├── object.ts │ ├── params.ts │ ├── performance.ts │ ├── process.ts │ ├── pubkey.ts │ ├── rawcopy.ts │ ├── rawcopyupto.ts │ ├── reference.ts │ ├── regexp.ts │ ├── rt.ts │ ├── rt │ │ ├── README.md │ │ ├── common.ts │ │ ├── index-incremental.ts │ │ ├── index-minimal.ts │ │ ├── index-stub.ts │ │ ├── index.d.ts │ │ ├── itcms.ts │ │ ├── rtrace.ts │ │ ├── stub.ts │ │ ├── tcms.ts │ │ └── tlsf.ts │ ├── serializedview.ts │ ├── set.ts │ ├── sfcodes.ts │ ├── shared │ │ ├── feature.ts │ │ ├── runtime.ts │ │ ├── target.ts │ │ ├── tsconfig.json │ │ └── typeinfo.ts │ ├── staticarray.ts │ ├── string.ts │ ├── symbol.ts │ ├── table.ts │ ├── transaction.ts │ ├── transactionfield.ts │ ├── transactiontype.ts │ ├── tsconfig.json │ ├── typedarray.ts │ ├── uri.ts │ ├── util │ │ ├── bytes.ts │ │ ├── casemap.ts │ │ ├── compare.ts │ │ ├── compareupto.ts │ │ ├── equpto.ts │ │ ├── error.ts │ │ ├── hash.ts │ │ ├── math.ts │ │ ├── memory.ts │ │ ├── number.ts │ │ ├── raweq.ts │ │ ├── repeatupto.ts │ │ ├── reversestore.ts │ │ ├── sort.ts │ │ ├── string.ts │ │ ├── uri.ts │ │ ├── widerepeat.ts │ │ ├── widerepeatupto.ts │ │ └── widereversestore.ts │ └── vector.ts ├── portable.json ├── portable │ ├── index.d.ts │ └── index.js └── types │ ├── assembly │ ├── index.d.ts │ └── package.json │ └── portable │ ├── index.d.ts │ └── package.json ├── tests ├── .gitignore ├── README.md ├── allocators │ ├── default │ │ ├── assembly │ │ │ ├── index.ts │ │ │ └── tsconfig.json │ │ ├── debug.wat │ │ ├── package.json │ │ └── release.wat │ ├── forever.js │ ├── index.js │ ├── package.json │ ├── runner.js │ └── stub │ │ ├── assembly │ │ ├── index.ts │ │ └── tsconfig.json │ │ ├── debug.wat │ │ ├── package.json │ │ └── release.wat ├── asconfig │ ├── .gitignore │ ├── complicated │ │ ├── asconfig.json │ │ ├── assembly │ │ │ └── index.ts │ │ └── package.json │ ├── cyclical │ │ ├── asconfig.json │ │ ├── assembly │ │ │ └── index.ts │ │ ├── extends.json │ │ └── package.json │ ├── entry-points │ │ ├── asconfig.json │ │ ├── assembly │ │ │ ├── data.ts │ │ │ ├── globalTwo.ts │ │ │ ├── globals.ts │ │ │ └── index.ts │ │ ├── nested │ │ │ ├── asconfig.json │ │ │ ├── assembly │ │ │ │ └── index.ts │ │ │ └── package.json │ │ ├── node-resolution │ │ │ ├── asconfig.json │ │ │ ├── assembly │ │ │ │ └── index.ts │ │ │ ├── node_modules │ │ │ │ └── entry-points │ │ │ │ │ └── asconfig.json │ │ │ └── package.json │ │ └── package.json │ ├── extends │ │ ├── asconfig.json │ │ ├── assembly │ │ │ └── index.ts │ │ ├── expected.json │ │ ├── extends.json │ │ └── package.json │ ├── index.js │ ├── package.json │ ├── respect-inheritence │ │ ├── asconfig.json │ │ ├── assembly │ │ │ └── index.ts │ │ └── package.json │ ├── target │ │ ├── asconfig.json │ │ ├── assembly │ │ │ └── index.ts │ │ ├── expected.json │ │ └── package.json │ └── use-consts │ │ ├── asconfig.json │ │ ├── assembly │ │ └── index.ts │ │ └── package.json ├── browser.js ├── cli │ └── options.js ├── compiler.js ├── compiler │ ├── .gitignore │ ├── NonNullable.debug.wat │ ├── NonNullable.release.wat │ ├── NonNullable.ts │ ├── ReturnType.debug.wat │ ├── ReturnType.json │ ├── ReturnType.release.wat │ ├── ReturnType.ts │ ├── abi.debug.wat │ ├── abi.json │ ├── abi.release.wat │ ├── abi.ts │ ├── asc-constants.debug.wat │ ├── asc-constants.json │ ├── asc-constants.release.wat │ ├── asc-constants.ts │ ├── assert-nonnull.debug.wat │ ├── assert-nonnull.json │ ├── assert-nonnull.release.wat │ ├── assert-nonnull.ts │ ├── assert.debug.wat │ ├── assert.json │ ├── assert.release.wat │ ├── assert.ts │ ├── avoid-resolve-loop.json │ ├── avoid-resolve-loop.ts │ ├── basic-nullable.json │ ├── basic-nullable.ts │ ├── bigint-integration.debug.wat │ ├── bigint-integration.js │ ├── bigint-integration.json │ ├── bigint-integration.release.wat │ ├── bigint-integration.ts │ ├── binary-error.json │ ├── binary-error.ts │ ├── binary.debug.wat │ ├── binary.json │ ├── binary.release.wat │ ├── binary.ts │ ├── bindings │ │ ├── esm.debug.d.ts │ │ ├── esm.debug.js │ │ ├── esm.debug.wat │ │ ├── esm.js │ │ ├── esm.json │ │ ├── esm.release.d.ts │ │ ├── esm.release.js │ │ ├── esm.release.wat │ │ ├── esm.ts │ │ ├── noExportRuntime.debug.d.ts │ │ ├── noExportRuntime.debug.js │ │ ├── noExportRuntime.debug.wat │ │ ├── noExportRuntime.json │ │ ├── noExportRuntime.release.d.ts │ │ ├── noExportRuntime.release.js │ │ ├── noExportRuntime.release.wat │ │ ├── noExportRuntime.ts │ │ ├── raw.debug.d.ts │ │ ├── raw.debug.js │ │ ├── raw.debug.wat │ │ ├── raw.js │ │ ├── raw.json │ │ ├── raw.release.d.ts │ │ ├── raw.release.js │ │ ├── raw.release.wat │ │ └── raw.ts │ ├── bool-Oz.debug.wat │ ├── bool-Oz.json │ ├── bool-Oz.release.wat │ ├── bool-Oz.ts │ ├── bool.debug.wat │ ├── bool.json │ ├── bool.release.wat │ ├── bool.ts │ ├── builtins.debug.wat │ ├── builtins.json │ ├── builtins.release.wat │ ├── builtins.ts │ ├── call-inferred.debug.wat │ ├── call-inferred.json │ ├── call-inferred.release.wat │ ├── call-inferred.ts │ ├── call-optional.debug.wat │ ├── call-optional.json │ ├── call-optional.release.wat │ ├── call-optional.ts │ ├── call-super.debug.wat │ ├── call-super.json │ ├── call-super.release.wat │ ├── call-super.ts │ ├── cast.debug.wat │ ├── cast.json │ ├── cast.release.wat │ ├── cast.ts │ ├── class-abstract-errors.json │ ├── class-abstract-errors.ts │ ├── class-extends-itself.json │ ├── class-extends-itself.ts │ ├── class-extends.debug.wat │ ├── class-extends.json │ ├── class-extends.release.wat │ ├── class-extends.ts │ ├── class-implements.debug.wat │ ├── class-implements.json │ ├── class-implements.release.wat │ ├── class-implements.ts │ ├── class-overloading-cast.debug.wat │ ├── class-overloading-cast.json │ ├── class-overloading-cast.release.wat │ ├── class-overloading-cast.ts │ ├── class-overloading.debug.wat │ ├── class-overloading.json │ ├── class-overloading.release.wat │ ├── class-overloading.ts │ ├── class-static-function.debug.wat │ ├── class-static-function.json │ ├── class-static-function.release.wat │ ├── class-static-function.ts │ ├── class.debug.wat │ ├── class.json │ ├── class.release.wat │ ├── class.ts │ ├── closure.json │ ├── closure.ts │ ├── comma.debug.wat │ ├── comma.json │ ├── comma.release.wat │ ├── comma.ts │ ├── const-folding.debug.wat │ ├── const-folding.json │ ├── const-folding.release.wat │ ├── const-folding.ts │ ├── constant-assign.json │ ├── constant-assign.ts │ ├── constructor-errors.json │ ├── constructor-errors.ts │ ├── constructor.debug.wat │ ├── constructor.json │ ├── constructor.release.wat │ ├── constructor.ts │ ├── continue.debug.wat │ ├── continue.json │ ├── continue.release.wat │ ├── continue.ts │ ├── converge.debug.wat │ ├── converge.json │ ├── converge.release.wat │ ├── converge.ts │ ├── declare.debug.wat │ ├── declare.js │ ├── declare.json │ ├── declare.release.wat │ ├── declare.ts │ ├── do.debug.wat │ ├── do.json │ ├── do.release.wat │ ├── do.ts │ ├── duplicate-field-errors.json │ ├── duplicate-field-errors.ts │ ├── duplicate-fields.debug.wat │ ├── duplicate-fields.json │ ├── duplicate-fields.release.wat │ ├── duplicate-fields.ts │ ├── duplicate-identifier.json │ ├── duplicate-identifier.ts │ ├── empty-exportruntime.debug.wat │ ├── empty-exportruntime.json │ ├── empty-exportruntime.release.wat │ ├── empty-exportruntime.ts │ ├── empty-new.debug.wat │ ├── empty-new.json │ ├── empty-new.release.wat │ ├── empty-new.ts │ ├── empty-use.json │ ├── empty-use.ts │ ├── empty.debug.wat │ ├── empty.json │ ├── empty.release.wat │ ├── empty.ts │ ├── enum-return-error.json │ ├── enum-return-error.ts │ ├── enum.debug.wat │ ├── enum.json │ ├── enum.release.wat │ ├── enum.ts │ ├── export-default.debug.wat │ ├── export-default.json │ ├── export-default.release.wat │ ├── export-default.ts │ ├── export.debug.wat │ ├── export.json │ ├── export.release.wat │ ├── export.ts │ ├── exportimport-table.debug.wat │ ├── exportimport-table.js │ ├── exportimport-table.json │ ├── exportimport-table.release.wat │ ├── exportimport-table.ts │ ├── exports-lazy.debug.wat │ ├── exports-lazy.json │ ├── exports-lazy.release.wat │ ├── exports-lazy.ts │ ├── exports.debug.wat │ ├── exports.json │ ├── exports.release.wat │ ├── exports.ts │ ├── exportstar-rereexport.debug.wat │ ├── exportstar-rereexport.json │ ├── exportstar-rereexport.release.wat │ ├── exportstar-rereexport.ts │ ├── exportstar.debug.wat │ ├── exportstar.json │ ├── exportstar.release.wat │ ├── exportstar.ts │ ├── extends-baseaggregate.debug.wat │ ├── extends-baseaggregate.json │ ├── extends-baseaggregate.release.wat │ ├── extends-baseaggregate.ts │ ├── extends-recursive.debug.wat │ ├── extends-recursive.json │ ├── extends-recursive.release.wat │ ├── extends-recursive.ts │ ├── extends-self.json │ ├── extends-self.ts │ ├── external.debug.wat │ ├── external.js │ ├── external.json │ ├── external.release.wat │ ├── external.ts │ ├── features │ │ ├── README.md │ │ ├── exception-handling.debug.wat │ │ ├── exception-handling.json │ │ ├── exception-handling.release.wat │ │ ├── exception-handling.ts │ │ ├── not-supported.json │ │ ├── not-supported.ts │ │ ├── reference-types.debug.wat │ │ ├── reference-types.js │ │ ├── reference-types.json │ │ ├── reference-types.release.wat │ │ ├── reference-types.ts │ │ ├── threads.debug.wat │ │ ├── threads.json │ │ ├── threads.release.wat │ │ └── threads.ts │ ├── field-initialization-errors.json │ ├── field-initialization-errors.ts │ ├── field-initialization-warnings.json │ ├── field-initialization-warnings.ts │ ├── field-initialization.debug.wat │ ├── field-initialization.json │ ├── field-initialization.release.wat │ ├── field-initialization.ts │ ├── field.debug.wat │ ├── field.json │ ├── field.release.wat │ ├── field.ts │ ├── for.debug.wat │ ├── for.json │ ├── for.release.wat │ ├── for.ts │ ├── function-call.debug.wat │ ├── function-call.json │ ├── function-call.release.wat │ ├── function-call.ts │ ├── function-expression-error.json │ ├── function-expression-error.ts │ ├── function-expression.debug.wat │ ├── function-expression.json │ ├── function-expression.release.wat │ ├── function-expression.ts │ ├── function-inline-regressions.debug.wat │ ├── function-inline-regressions.json │ ├── function-inline-regressions.release.wat │ ├── function-inline-regressions.ts │ ├── function-types.debug.wat │ ├── function-types.json │ ├── function-types.release.wat │ ├── function-types.ts │ ├── function.json │ ├── function.ts │ ├── getter-call.debug.wat │ ├── getter-call.json │ ├── getter-call.release.wat │ ├── getter-call.ts │ ├── getter-setter.debug.wat │ ├── getter-setter.json │ ├── getter-setter.release.wat │ ├── getter-setter.ts │ ├── heap.debug.wat │ ├── heap.json │ ├── heap.release.wat │ ├── heap.ts │ ├── if.debug.wat │ ├── if.json │ ├── if.release.wat │ ├── if.ts │ ├── import-memory.debug.wat │ ├── import-memory.json │ ├── import-memory.release.wat │ ├── import-memory.ts │ ├── import.debug.wat │ ├── import.json │ ├── import.release.wat │ ├── import.ts │ ├── indexing-regexp.json │ ├── indexing-regexp.ts │ ├── indexof-valueof.debug.wat │ ├── indexof-valueof.json │ ├── indexof-valueof.release.wat │ ├── indexof-valueof.ts │ ├── infer-array.debug.wat │ ├── infer-array.json │ ├── infer-array.release.wat │ ├── infer-array.ts │ ├── infer-function-return.debug.wat │ ├── infer-function-return.release.wat │ ├── infer-function-return.ts │ ├── infer-generic.debug.wat │ ├── infer-generic.json │ ├── infer-generic.release.wat │ ├── infer-generic.ts │ ├── infer-type.debug.wat │ ├── infer-type.json │ ├── infer-type.release.wat │ ├── infer-type.ts │ ├── inline-locals.debug.wat │ ├── inline-locals.json │ ├── inline-locals.release.wat │ ├── inline-locals.ts │ ├── inlining-blocklocals.debug.wat │ ├── inlining-blocklocals.json │ ├── inlining-blocklocals.release.wat │ ├── inlining-blocklocals.ts │ ├── inlining-recursive.debug.wat │ ├── inlining-recursive.json │ ├── inlining-recursive.release.wat │ ├── inlining-recursive.ts │ ├── inlining.debug.wat │ ├── inlining.json │ ├── inlining.release.wat │ ├── inlining.ts │ ├── instanceof-class.debug.wat │ ├── instanceof-class.json │ ├── instanceof-class.release.wat │ ├── instanceof-class.ts │ ├── instanceof.debug.wat │ ├── instanceof.json │ ├── instanceof.release.wat │ ├── instanceof.ts │ ├── issues │ │ ├── 1751 │ │ │ ├── _common.ts │ │ │ ├── _foo.ts │ │ │ └── _reexport.ts │ │ ├── 2322 │ │ │ ├── index.debug.wat │ │ │ ├── index.release.wat │ │ │ ├── index.ts │ │ │ ├── lib.debug.wat │ │ │ ├── lib.release.wat │ │ │ └── lib.ts │ │ ├── 1095.debug.wat │ │ ├── 1095.json │ │ ├── 1095.release.wat │ │ ├── 1095.ts │ │ ├── 1225.debug.wat │ │ ├── 1225.json │ │ ├── 1225.release.wat │ │ ├── 1225.ts │ │ ├── 1699.debug.wat │ │ ├── 1699.release.wat │ │ ├── 1699.ts │ │ ├── 1714.debug.wat │ │ ├── 1714.release.wat │ │ ├── 1714.ts │ │ ├── 1751.debug.wat │ │ ├── 1751.release.wat │ │ ├── 1751.ts │ │ ├── 2085.json │ │ ├── 2085.ts │ │ ├── 2166.debug.wat │ │ ├── 2166.release.wat │ │ ├── 2166.ts │ │ ├── 2202.json │ │ ├── 2202.ts │ │ ├── 2473.json │ │ └── 2473.ts │ ├── limits.debug.wat │ ├── limits.json │ ├── limits.release.wat │ ├── limits.ts │ ├── literals-errors.json │ ├── literals-errors.ts │ ├── literals.debug.wat │ ├── literals.json │ ├── literals.release.wat │ ├── literals.ts │ ├── logical.debug.wat │ ├── logical.json │ ├── logical.release.wat │ ├── logical.ts │ ├── loop-flow.debug.wat │ ├── loop-flow.json │ ├── loop-flow.release.wat │ ├── loop-flow.ts │ ├── loop-wrap.debug.wat │ ├── loop-wrap.json │ ├── loop-wrap.release.wat │ ├── loop-wrap.ts │ ├── managed-cast.debug.wat │ ├── managed-cast.json │ ├── managed-cast.release.wat │ ├── managed-cast.ts │ ├── many-locals.debug.wat │ ├── many-locals.json │ ├── many-locals.release.wat │ ├── many-locals.ts │ ├── memcpy.debug.wat │ ├── memcpy.json │ ├── memcpy.release.wat │ ├── memcpy.ts │ ├── memmove.debug.wat │ ├── memmove.json │ ├── memmove.release.wat │ ├── memmove.ts │ ├── memory-config-errors.json │ ├── memory-config-errors.ts │ ├── memory-config-shared-errors.json │ ├── memory-config-shared-errors.ts │ ├── memory.debug.wat │ ├── memory.json │ ├── memory.release.wat │ ├── memory.ts │ ├── memorybase.debug.wat │ ├── memorybase.json │ ├── memorybase.release.wat │ ├── memorybase.ts │ ├── memset.debug.wat │ ├── memset.json │ ├── memset.release.wat │ ├── memset.ts │ ├── merge.debug.wat │ ├── merge.json │ ├── merge.release.wat │ ├── merge.ts │ ├── mutable-globals.debug.wat │ ├── mutable-globals.js │ ├── mutable-globals.json │ ├── mutable-globals.release.wat │ ├── mutable-globals.ts │ ├── named-export-default.debug.wat │ ├── named-export-default.json │ ├── named-export-default.release.wat │ ├── named-export-default.ts │ ├── named-import-default.debug.wat │ ├── named-import-default.json │ ├── named-import-default.release.wat │ ├── named-import-default.ts │ ├── namespace.debug.wat │ ├── namespace.json │ ├── namespace.release.wat │ ├── namespace.ts │ ├── new.debug.wat │ ├── new.json │ ├── new.release.wat │ ├── new.ts │ ├── node_modules │ │ ├── README.md │ │ ├── _ │ │ │ ├── index.ts │ │ │ └── node_modules │ │ │ │ └── a │ │ │ │ ├── index.ts │ │ │ │ ├── node_modules │ │ │ │ └── c │ │ │ │ │ └── index.ts │ │ │ │ └── other.ts │ │ ├── b │ │ │ ├── index.ts │ │ │ ├── other.ts │ │ │ └── other │ │ │ │ └── index.ts │ │ └── tsconfig.json │ ├── nonnullable.json │ ├── nontrapping-f2i.debug.wat │ ├── nontrapping-f2i.json │ ├── nontrapping-f2i.release.wat │ ├── nontrapping-f2i.ts │ ├── nullable.json │ ├── nullable.ts │ ├── number.debug.wat │ ├── number.json │ ├── number.release.wat │ ├── number.ts │ ├── object-literal.debug.wat │ ├── object-literal.json │ ├── object-literal.release.wat │ ├── object-literal.ts │ ├── optional-typeparameters.debug.wat │ ├── optional-typeparameters.json │ ├── optional-typeparameters.release.wat │ ├── optional-typeparameters.ts │ ├── overflow.debug.wat │ ├── overflow.json │ ├── overflow.release.wat │ ├── overflow.ts │ ├── override-error.json │ ├── override-error.ts │ ├── packages.debug.wat │ ├── packages.json │ ├── packages.release.wat │ ├── packages.ts │ ├── portable-conversions.debug.wat │ ├── portable-conversions.json │ ├── portable-conversions.release.wat │ ├── portable-conversions.ts │ ├── possibly-null.debug.wat │ ├── possibly-null.json │ ├── possibly-null.release.wat │ ├── possibly-null.ts │ ├── recursive.debug.wat │ ├── recursive.json │ ├── recursive.release.wat │ ├── recursive.ts │ ├── reexport.debug.wat │ ├── reexport.json │ ├── reexport.release.wat │ ├── reexport.ts │ ├── rereexport.debug.wat │ ├── rereexport.json │ ├── rereexport.release.wat │ ├── rereexport.ts │ ├── resolve-access.debug.wat │ ├── resolve-access.json │ ├── resolve-access.release.wat │ ├── resolve-access.ts │ ├── resolve-binary.debug.wat │ ├── resolve-binary.json │ ├── resolve-binary.release.wat │ ├── resolve-binary.ts │ ├── resolve-elementaccess.debug.wat │ ├── resolve-elementaccess.json │ ├── resolve-elementaccess.release.wat │ ├── resolve-elementaccess.ts │ ├── resolve-function-expression.debug.wat │ ├── resolve-function-expression.json │ ├── resolve-function-expression.release.wat │ ├── resolve-function-expression.ts │ ├── resolve-localortype.debug.wat │ ├── resolve-localortype.json │ ├── resolve-localortype.release.wat │ ├── resolve-localortype.ts │ ├── resolve-nested.debug.wat │ ├── resolve-nested.json │ ├── resolve-nested.release.wat │ ├── resolve-nested.ts │ ├── resolve-new.debug.wat │ ├── resolve-new.json │ ├── resolve-new.release.wat │ ├── resolve-new.ts │ ├── resolve-propertyaccess.debug.wat │ ├── resolve-propertyaccess.json │ ├── resolve-propertyaccess.release.wat │ ├── resolve-propertyaccess.ts │ ├── resolve-ternary.debug.wat │ ├── resolve-ternary.release.wat │ ├── resolve-ternary.ts │ ├── resolve-unary.debug.wat │ ├── resolve-unary.json │ ├── resolve-unary.release.wat │ ├── resolve-unary.ts │ ├── retain-i32.debug.wat │ ├── retain-i32.json │ ├── retain-i32.release.wat │ ├── retain-i32.ts │ ├── return-unreachable.debug.wat │ ├── return-unreachable.json │ ├── return-unreachable.release.wat │ ├── return-unreachable.ts │ ├── return.debug.wat │ ├── return.json │ ├── return.release.wat │ ├── return.ts │ ├── rt │ │ ├── flags.debug.wat │ │ ├── flags.json │ │ ├── flags.release.wat │ │ ├── flags.ts │ │ ├── ids.debug.wat │ │ ├── ids.json │ │ ├── ids.release.wat │ │ ├── ids.ts │ │ ├── instanceof.debug.wat │ │ ├── instanceof.json │ │ ├── instanceof.release.wat │ │ ├── instanceof.ts │ │ ├── runtime-stub-export.debug.wat │ │ ├── runtime-stub-export.json │ │ ├── runtime-stub-export.release.wat │ │ ├── runtime-stub-export.ts │ │ ├── runtime-stub.debug.wat │ │ ├── runtime-stub.json │ │ ├── runtime-stub.release.wat │ │ └── runtime-stub.ts │ ├── scoped.debug.wat │ ├── scoped.json │ ├── scoped.release.wat │ ├── scoped.ts │ ├── simd-errors.json │ ├── simd-errors.ts │ ├── simd.debug.wat │ ├── simd.json │ ├── simd.release.wat │ ├── simd.ts │ ├── static-this.debug.wat │ ├── static-this.json │ ├── static-this.release.wat │ ├── static-this.ts │ ├── std │ │ ├── array-access.debug.wat │ │ ├── array-access.json │ │ ├── array-access.release.wat │ │ ├── array-access.ts │ │ ├── array-literal.debug.wat │ │ ├── array-literal.json │ │ ├── array-literal.release.wat │ │ ├── array-literal.ts │ │ ├── array.debug.wat │ │ ├── array.json │ │ ├── array.release.wat │ │ ├── array.ts │ │ ├── arraybuffer.debug.wat │ │ ├── arraybuffer.json │ │ ├── arraybuffer.release.wat │ │ ├── arraybuffer.ts │ │ ├── console.debug.wat │ │ ├── console.json │ │ ├── console.release.wat │ │ ├── console.ts │ │ ├── dataview.debug.wat │ │ ├── dataview.json │ │ ├── dataview.release.wat │ │ ├── dataview.ts │ │ ├── date-toisostring.debug.wat │ │ ├── date-toisostring.json │ │ ├── date-toisostring.release.wat │ │ ├── date-toisostring.ts │ │ ├── date.debug.wat │ │ ├── date.json │ │ ├── date.release.wat │ │ ├── date.ts │ │ ├── date.untouched.wat │ │ ├── hash.debug.wat │ │ ├── hash.json │ │ ├── hash.release.wat │ │ ├── hash.ts │ │ ├── hook-param.debug.wat │ │ ├── hook-param.json │ │ ├── hook-param.release.wat │ │ ├── hook-param.ts │ │ ├── ledgerdate.debug.wat │ │ ├── ledgerdate.json │ │ ├── ledgerdate.release.wat │ │ ├── ledgerdate.ts │ │ ├── map.debug.wat │ │ ├── map.json │ │ ├── map.release.wat │ │ ├── map.ts │ │ ├── math.debug.wat │ │ ├── math.js │ │ ├── math.json │ │ ├── math.release.wat │ │ ├── math.ts │ │ ├── mod.debug.wat │ │ ├── mod.js │ │ ├── mod.json │ │ ├── mod.release.wat │ │ ├── mod.ts │ │ ├── new.debug.wat │ │ ├── new.json │ │ ├── new.release.wat │ │ ├── new.ts │ │ ├── number.debug.wat │ │ ├── number.json │ │ ├── number.release.wat │ │ ├── number.ts │ │ ├── numberu.debug.wat │ │ ├── numberu.json │ │ ├── numberu.release.wat │ │ ├── numberu.ts │ │ ├── object.debug.wat │ │ ├── object.json │ │ ├── object.release.wat │ │ ├── object.ts │ │ ├── operator-overloading-errors.json │ │ ├── operator-overloading-errors.ts │ │ ├── operator-overloading.debug.wat │ │ ├── operator-overloading.json │ │ ├── operator-overloading.release.wat │ │ ├── operator-overloading.ts │ │ ├── pointer.debug.wat │ │ ├── pointer.json │ │ ├── pointer.release.wat │ │ ├── pointer.ts │ │ ├── set.debug.wat │ │ ├── set.json │ │ ├── set.release.wat │ │ ├── set.ts │ │ ├── static-array.debug.wat │ │ ├── static-array.json │ │ ├── static-array.release.wat │ │ ├── static-array.ts │ │ ├── staticarray.debug.wat │ │ ├── staticarray.json │ │ ├── staticarray.release.wat │ │ ├── staticarray.ts │ │ ├── string-casemapping.debug.wat │ │ ├── string-casemapping.js │ │ ├── string-casemapping.json │ │ ├── string-casemapping.release.wat │ │ ├── string-casemapping.ts │ │ ├── string-encoding.debug.wat │ │ ├── string-encoding.json │ │ ├── string-encoding.release.wat │ │ ├── string-encoding.ts │ │ ├── string-nonnull.debug.wat │ │ ├── string-nonnull.json │ │ ├── string-nonnull.release.wat │ │ ├── string-nonnull.ts │ │ ├── string.debug.wat │ │ ├── string.json │ │ ├── string.release.wat │ │ ├── string.ts │ │ ├── symbol.debug.wat │ │ ├── symbol.json │ │ ├── symbol.release.wat │ │ ├── symbol.ts │ │ ├── trace.debug.wat │ │ ├── trace.json │ │ ├── trace.release.wat │ │ ├── trace.ts │ │ ├── typedarray.debug.wat │ │ ├── typedarray.json │ │ ├── typedarray.release.wat │ │ ├── typedarray.ts │ │ ├── uri.debug.wat │ │ ├── uri.json │ │ ├── uri.release.wat │ │ └── uri.ts │ ├── super-inline.debug.wat │ ├── super-inline.json │ ├── super-inline.release.wat │ ├── super-inline.ts │ ├── switch.debug.wat │ ├── switch.json │ ├── switch.release.wat │ ├── switch.ts │ ├── tablebase.debug.wat │ ├── tablebase.json │ ├── tablebase.release.wat │ ├── tablebase.ts │ ├── templateliteral.debug.wat │ ├── templateliteral.json │ ├── templateliteral.release.wat │ ├── templateliteral.ts │ ├── ternary.debug.wat │ ├── ternary.json │ ├── ternary.release.wat │ ├── ternary.ts │ ├── throw.debug.wat │ ├── throw.json │ ├── throw.release.wat │ ├── throw.ts │ ├── top-level.debug.wat │ ├── top-level.json │ ├── top-level.release.wat │ ├── top-level.ts │ ├── tsconfig.json │ ├── typealias.debug.wat │ ├── typealias.json │ ├── typealias.release.wat │ ├── typealias.ts │ ├── typeof-regexp.json │ ├── typeof-regexp.ts │ ├── typeof.debug.wat │ ├── typeof.json │ ├── typeof.release.wat │ ├── typeof.ts │ ├── unary-errors.json │ ├── unary-errors.ts │ ├── unary.debug.wat │ ├── unary.json │ ├── unary.release.wat │ ├── unary.ts │ ├── unicode-identifier.debug.wat │ ├── unicode-identifier.json │ ├── unicode-identifier.release.wat │ ├── unicode-identifier.ts │ ├── unify-local-flags.debug.wat │ ├── unify-local-flags.json │ ├── unify-local-flags.release.wat │ ├── unify-local-flags.ts │ ├── unknown-bool-ident.json │ ├── unknown-bool-ident.ts │ ├── unmanaged-errors.json │ ├── unmanaged-errors.ts │ ├── unsafe.json │ ├── unsafe.ts │ ├── variable-access-in-initializer.json │ ├── variable-access-in-initializer.ts │ ├── void.debug.wat │ ├── void.json │ ├── void.release.wat │ ├── void.ts │ ├── while.debug.wat │ ├── while.json │ ├── while.release.wat │ └── while.ts ├── features.json ├── import │ └── index.ts ├── parser.js ├── parser │ ├── also-identifier.ts │ ├── also-identifier.ts.fixture.ts │ ├── arrow-functions.ts │ ├── arrow-functions.ts.fixture.ts │ ├── call-function-return.ts │ ├── call-function-return.ts.fixture.ts │ ├── calls.ts │ ├── calls.ts.fixture.ts │ ├── class-abstract.ts │ ├── class-abstract.ts.fixture.ts │ ├── class-expression.ts │ ├── class-expression.ts.fixture.ts │ ├── class.ts │ ├── class.ts.fixture.ts │ ├── constructor.ts │ ├── constructor.ts.fixture.ts │ ├── continue-on-error.ts │ ├── continue-on-error.ts.fixture.ts │ ├── decorators.ts │ ├── decorators.ts.fixture.ts │ ├── definite-assignment-assertion.ts │ ├── definite-assignment-assertion.ts.fixture.ts │ ├── do.ts │ ├── do.ts.fixture.ts │ ├── empty.ts │ ├── empty.ts.fixture.ts │ ├── enum.ts │ ├── enum.ts.fixture.ts │ ├── export-default-in-namespace.ts │ ├── export-default-in-namespace.ts.fixture.ts │ ├── export-default.ts │ ├── export-default.ts.fixture.ts │ ├── for.ts │ ├── for.ts.fixture.ts │ ├── forof.ts │ ├── forof.ts.fixture.ts │ ├── function-expression.ts │ ├── function-expression.ts.fixture.ts │ ├── function-type.ts │ ├── function-type.ts.fixture.ts │ ├── function.ts │ ├── function.ts.fixture.ts │ ├── import.ts │ ├── import.ts.fixture.ts │ ├── index-declaration.ts │ ├── index-declaration.ts.fixture.ts │ ├── interface-errors.ts │ ├── interface-errors.ts.fixture.ts │ ├── interface.ts │ ├── interface.ts.fixture.ts │ ├── literals.ts │ ├── literals.ts.fixture.ts │ ├── module.ts │ ├── module.ts.fixture.ts │ ├── namespace.ts │ ├── namespace.ts.fixture.ts │ ├── nonNullAssertion.ts │ ├── nonNullAssertion.ts.fixture.ts │ ├── numeric-separators.ts │ ├── numeric-separators.ts.fixture.ts │ ├── object-literal.ts │ ├── object-literal.ts.fixture.ts │ ├── optional-property.ts │ ├── optional-property.ts.fixture.ts │ ├── optional-typeparameters.ts │ ├── optional-typeparameters.ts.fixture.ts │ ├── parameter-optional.ts │ ├── parameter-optional.ts.fixture.ts │ ├── parameter-order.ts │ ├── parameter-order.ts.fixture.ts │ ├── propertyelementaccess.ts │ ├── propertyelementaccess.ts.fixture.ts │ ├── regexp.ts │ ├── regexp.ts.fixture.ts │ ├── reserved-keywords.ts │ ├── reserved-keywords.ts.fixture.ts │ ├── string-binding.ts │ ├── string-binding.ts.fixture.ts │ ├── trailing-commas.ts │ ├── trailing-commas.ts.fixture.ts │ ├── tsconfig.json │ ├── type-signature.ts │ ├── type-signature.ts.fixture.ts │ ├── type.ts │ ├── type.ts.fixture.ts │ ├── unicode-identifier.ts │ ├── unicode-identifier.ts.fixture.ts │ ├── var.ts │ ├── var.ts.fixture.ts │ ├── while.ts │ └── while.ts.fixture.ts ├── tokenizer.js └── transform │ ├── cjs │ ├── index.js │ ├── package.json │ └── simple.js │ ├── index.js │ └── simple.js ├── tsconfig-base.json └── util ├── README.md ├── browser ├── fs.js ├── module.js ├── path.js ├── process.js └── url.js ├── cpu.d.ts ├── cpu.js ├── find.d.ts ├── find.js ├── node.d.ts ├── node.js ├── options.d.ts ├── options.js ├── terminal.d.ts ├── terminal.js ├── text.d.ts ├── text.js ├── tsconfig.json ├── web.d.ts └── web.js /.c8rc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/.c8rc.json -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/.dockerignore -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/.eslintrc.cjs -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/workflows/on_push_main.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/.github/workflows/on_push_main.yaml -------------------------------------------------------------------------------- /.github/workflows/tests.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/.github/workflows/tests.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | engine-strict=true 2 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /DOC.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/DOC.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/LICENSE -------------------------------------------------------------------------------- /NOTICE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/NOTICE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/README.md -------------------------------------------------------------------------------- /bin/asc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/bin/asc.js -------------------------------------------------------------------------------- /bin/asinit.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/bin/asinit.js -------------------------------------------------------------------------------- /cli/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/cli/README.md -------------------------------------------------------------------------------- /cli/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/cli/index.d.ts -------------------------------------------------------------------------------- /cli/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/cli/index.js -------------------------------------------------------------------------------- /cli/options.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/cli/options.json -------------------------------------------------------------------------------- /cli/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/cli/tsconfig.json -------------------------------------------------------------------------------- /hook-api-examples/blocklist/key.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/hook-api-examples/blocklist/key.js -------------------------------------------------------------------------------- /hook-api-examples/blocklist/patches: -------------------------------------------------------------------------------- 1 | ../patches -------------------------------------------------------------------------------- /hook-api-examples/blocklist/pay.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/hook-api-examples/blocklist/pay.js -------------------------------------------------------------------------------- /hook-api-examples/blocklist/yarn.lock: -------------------------------------------------------------------------------- 1 | ../yarn.lock -------------------------------------------------------------------------------- /hook-api-examples/carbon/carbon.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/hook-api-examples/carbon/carbon.ts -------------------------------------------------------------------------------- /hook-api-examples/carbon/deploy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/hook-api-examples/carbon/deploy.js -------------------------------------------------------------------------------- /hook-api-examples/carbon/patches: -------------------------------------------------------------------------------- 1 | ../patches -------------------------------------------------------------------------------- /hook-api-examples/carbon/pay.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/hook-api-examples/carbon/pay.js -------------------------------------------------------------------------------- /hook-api-examples/carbon/yarn.lock: -------------------------------------------------------------------------------- 1 | ../yarn.lock -------------------------------------------------------------------------------- /hook-api-examples/direct-debit/patches: -------------------------------------------------------------------------------- 1 | ../patches -------------------------------------------------------------------------------- /hook-api-examples/direct-debit/yarn.lock: -------------------------------------------------------------------------------- 1 | ../yarn.lock -------------------------------------------------------------------------------- /hook-api-examples/firewall/deploy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/hook-api-examples/firewall/deploy.js -------------------------------------------------------------------------------- /hook-api-examples/firewall/patches: -------------------------------------------------------------------------------- 1 | ../patches -------------------------------------------------------------------------------- /hook-api-examples/firewall/yarn.lock: -------------------------------------------------------------------------------- 1 | ../yarn.lock -------------------------------------------------------------------------------- /hook-api-examples/high-value-payment/patches: -------------------------------------------------------------------------------- 1 | ../patches -------------------------------------------------------------------------------- /hook-api-examples/high-value-payment/yarn.lock: -------------------------------------------------------------------------------- 1 | ../yarn.lock -------------------------------------------------------------------------------- /hook-api-examples/notary/deploy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/hook-api-examples/notary/deploy.js -------------------------------------------------------------------------------- /hook-api-examples/notary/notary.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/hook-api-examples/notary/notary.ts -------------------------------------------------------------------------------- /hook-api-examples/notary/patches: -------------------------------------------------------------------------------- 1 | ../patches -------------------------------------------------------------------------------- /hook-api-examples/notary/propose.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/hook-api-examples/notary/propose.js -------------------------------------------------------------------------------- /hook-api-examples/notary/sign.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/hook-api-examples/notary/sign.js -------------------------------------------------------------------------------- /hook-api-examples/notary/yarn.lock: -------------------------------------------------------------------------------- 1 | ../yarn.lock -------------------------------------------------------------------------------- /hook-api-examples/peggy/decode.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/hook-api-examples/peggy/decode.js -------------------------------------------------------------------------------- /hook-api-examples/peggy/deploy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/hook-api-examples/peggy/deploy.js -------------------------------------------------------------------------------- /hook-api-examples/peggy/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/hook-api-examples/peggy/package.json -------------------------------------------------------------------------------- /hook-api-examples/peggy/patches: -------------------------------------------------------------------------------- 1 | ../patches -------------------------------------------------------------------------------- /hook-api-examples/peggy/pay-usd.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/hook-api-examples/peggy/pay-usd.js -------------------------------------------------------------------------------- /hook-api-examples/peggy/pay-xrp.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/hook-api-examples/peggy/pay-xrp.js -------------------------------------------------------------------------------- /hook-api-examples/peggy/peggy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/hook-api-examples/peggy/peggy.ts -------------------------------------------------------------------------------- /hook-api-examples/peggy/yarn.lock: -------------------------------------------------------------------------------- 1 | ../yarn.lock -------------------------------------------------------------------------------- /hook-api-examples/savings/deploy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/hook-api-examples/savings/deploy.js -------------------------------------------------------------------------------- /hook-api-examples/savings/patches: -------------------------------------------------------------------------------- 1 | ../patches -------------------------------------------------------------------------------- /hook-api-examples/savings/savings.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/hook-api-examples/savings/savings.ts -------------------------------------------------------------------------------- /hook-api-examples/savings/yarn.lock: -------------------------------------------------------------------------------- 1 | ../yarn.lock -------------------------------------------------------------------------------- /hook-api-examples/starter/deploy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/hook-api-examples/starter/deploy.js -------------------------------------------------------------------------------- /hook-api-examples/starter/patches: -------------------------------------------------------------------------------- 1 | ../patches -------------------------------------------------------------------------------- /hook-api-examples/starter/pay.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/hook-api-examples/starter/pay.js -------------------------------------------------------------------------------- /hook-api-examples/starter/starter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/hook-api-examples/starter/starter.ts -------------------------------------------------------------------------------- /hook-api-examples/starter/yarn.lock: -------------------------------------------------------------------------------- 1 | ../yarn.lock -------------------------------------------------------------------------------- /hook-api-examples/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/hook-api-examples/yarn.lock -------------------------------------------------------------------------------- /lib/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/lib/README.md -------------------------------------------------------------------------------- /lib/binaryen.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/lib/binaryen.d.ts -------------------------------------------------------------------------------- /lib/binaryen.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/lib/binaryen.js -------------------------------------------------------------------------------- /lib/loader/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/lib/loader/README.md -------------------------------------------------------------------------------- /lib/loader/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/lib/loader/index.d.ts -------------------------------------------------------------------------------- /lib/loader/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/lib/loader/index.js -------------------------------------------------------------------------------- /lib/loader/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/lib/loader/package-lock.json -------------------------------------------------------------------------------- /lib/loader/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/lib/loader/package.json -------------------------------------------------------------------------------- /lib/loader/tests/assembly/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/lib/loader/tests/assembly/index.ts -------------------------------------------------------------------------------- /lib/loader/tests/build/default.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/lib/loader/tests/build/default.wasm -------------------------------------------------------------------------------- /lib/loader/tests/build/legacy.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/lib/loader/tests/build/legacy.wasm -------------------------------------------------------------------------------- /lib/loader/tests/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/lib/loader/tests/index.html -------------------------------------------------------------------------------- /lib/loader/tests/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/lib/loader/tests/index.js -------------------------------------------------------------------------------- /lib/loader/tests/umd/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/lib/loader/tests/umd/index.js -------------------------------------------------------------------------------- /lib/loader/tests/umd/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "commonjs" 3 | } 4 | -------------------------------------------------------------------------------- /lib/loader/umd/index.d.ts: -------------------------------------------------------------------------------- 1 | export * from "../index"; 2 | -------------------------------------------------------------------------------- /lib/loader/umd/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/lib/loader/umd/index.js -------------------------------------------------------------------------------- /lib/loader/umd/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/lib/loader/umd/package.json -------------------------------------------------------------------------------- /lib/rtrace/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/lib/rtrace/README.md -------------------------------------------------------------------------------- /lib/rtrace/bin/rtplot.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/lib/rtrace/bin/rtplot.js -------------------------------------------------------------------------------- /lib/rtrace/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/lib/rtrace/index.d.ts -------------------------------------------------------------------------------- /lib/rtrace/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/lib/rtrace/index.js -------------------------------------------------------------------------------- /lib/rtrace/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/lib/rtrace/package.json -------------------------------------------------------------------------------- /lib/rtrace/plot.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/lib/rtrace/plot.js -------------------------------------------------------------------------------- /lib/rtrace/tests/index.js: -------------------------------------------------------------------------------- 1 | // TODO 2 | -------------------------------------------------------------------------------- /lib/rtrace/tlsfvis.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/lib/rtrace/tlsfvis.html -------------------------------------------------------------------------------- /lib/rtrace/umd/index.d.ts: -------------------------------------------------------------------------------- 1 | export * from "../index"; 2 | -------------------------------------------------------------------------------- /lib/rtrace/umd/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/lib/rtrace/umd/index.js -------------------------------------------------------------------------------- /lib/rtrace/umd/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/lib/rtrace/umd/package.json -------------------------------------------------------------------------------- /media/architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/media/architecture.png -------------------------------------------------------------------------------- /media/architecture.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/media/architecture.svg -------------------------------------------------------------------------------- /media/architecture.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/media/architecture.xml -------------------------------------------------------------------------------- /media/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/media/icon.png -------------------------------------------------------------------------------- /media/icon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/media/icon.svg -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/package.json -------------------------------------------------------------------------------- /scripts/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/scripts/README.md -------------------------------------------------------------------------------- /scripts/build-dts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/scripts/build-dts.js -------------------------------------------------------------------------------- /scripts/build-web.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/scripts/build-web.js -------------------------------------------------------------------------------- /scripts/build.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/scripts/build.js -------------------------------------------------------------------------------- /scripts/hexfloat.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/scripts/hexfloat.html -------------------------------------------------------------------------------- /scripts/hexfloat.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/scripts/hexfloat.js -------------------------------------------------------------------------------- /scripts/lkg.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/scripts/lkg.js -------------------------------------------------------------------------------- /scripts/unicode-identifier.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/scripts/unicode-identifier.js -------------------------------------------------------------------------------- /scripts/update-constants.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/scripts/update-constants.js -------------------------------------------------------------------------------- /src/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/README.md -------------------------------------------------------------------------------- /src/asconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/asconfig.json -------------------------------------------------------------------------------- /src/ast.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/ast.ts -------------------------------------------------------------------------------- /src/bindings.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/bindings.ts -------------------------------------------------------------------------------- /src/bindings/js.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/bindings/js.ts -------------------------------------------------------------------------------- /src/bindings/tsd.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/bindings/tsd.ts -------------------------------------------------------------------------------- /src/bindings/util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/bindings/util.ts -------------------------------------------------------------------------------- /src/builtins.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/builtins.ts -------------------------------------------------------------------------------- /src/common.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/common.ts -------------------------------------------------------------------------------- /src/compiler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/compiler.ts -------------------------------------------------------------------------------- /src/diagnosticMessages.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/diagnosticMessages.json -------------------------------------------------------------------------------- /src/diagnostics.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/diagnostics.ts -------------------------------------------------------------------------------- /src/extra/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/extra/README.md -------------------------------------------------------------------------------- /src/extra/ast.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/extra/ast.ts -------------------------------------------------------------------------------- /src/extra/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/extra/tsconfig.json -------------------------------------------------------------------------------- /src/flow.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/flow.ts -------------------------------------------------------------------------------- /src/glue/README.md: -------------------------------------------------------------------------------- 1 | Environment specific glue code. 2 | -------------------------------------------------------------------------------- /src/glue/binaryen.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/glue/binaryen.d.ts -------------------------------------------------------------------------------- /src/glue/binaryen.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/glue/binaryen.js -------------------------------------------------------------------------------- /src/glue/js/collections.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/glue/js/collections.d.ts -------------------------------------------------------------------------------- /src/glue/js/collections.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/glue/js/collections.js -------------------------------------------------------------------------------- /src/glue/js/float.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/glue/js/float.d.ts -------------------------------------------------------------------------------- /src/glue/js/float.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/glue/js/float.js -------------------------------------------------------------------------------- /src/glue/js/i64.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/glue/js/i64.d.ts -------------------------------------------------------------------------------- /src/glue/js/i64.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/glue/js/i64.js -------------------------------------------------------------------------------- /src/glue/js/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/glue/js/index.ts -------------------------------------------------------------------------------- /src/glue/js/node.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/glue/js/node.d.ts -------------------------------------------------------------------------------- /src/glue/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/glue/tsconfig.json -------------------------------------------------------------------------------- /src/glue/wasm/collections.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/glue/wasm/collections.ts -------------------------------------------------------------------------------- /src/glue/wasm/float.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/glue/wasm/float.ts -------------------------------------------------------------------------------- /src/glue/wasm/i64.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/glue/wasm/i64.ts -------------------------------------------------------------------------------- /src/glue/wasm/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/glue/wasm/index.ts -------------------------------------------------------------------------------- /src/glue/wasm/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/glue/wasm/tsconfig.json -------------------------------------------------------------------------------- /src/index-js.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/index-js.ts -------------------------------------------------------------------------------- /src/index-wasm.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/index-wasm.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/module.ts -------------------------------------------------------------------------------- /src/parser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/parser.ts -------------------------------------------------------------------------------- /src/passes/ministack.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/passes/ministack.ts -------------------------------------------------------------------------------- /src/passes/pass.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/passes/pass.ts -------------------------------------------------------------------------------- /src/passes/rtrace.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/passes/rtrace.ts -------------------------------------------------------------------------------- /src/passes/shadowstack.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/passes/shadowstack.ts -------------------------------------------------------------------------------- /src/program.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/program.ts -------------------------------------------------------------------------------- /src/resolver.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/resolver.ts -------------------------------------------------------------------------------- /src/tokenizer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/tokenizer.ts -------------------------------------------------------------------------------- /src/transforms.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/transforms.ts -------------------------------------------------------------------------------- /src/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/tsconfig.json -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/types.ts -------------------------------------------------------------------------------- /src/util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/util.ts -------------------------------------------------------------------------------- /src/util/binary.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/util/binary.ts -------------------------------------------------------------------------------- /src/util/collections.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/util/collections.ts -------------------------------------------------------------------------------- /src/util/math.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/util/math.ts -------------------------------------------------------------------------------- /src/util/path.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/util/path.ts -------------------------------------------------------------------------------- /src/util/terminal.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/util/terminal.ts -------------------------------------------------------------------------------- /src/util/text.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/util/text.ts -------------------------------------------------------------------------------- /src/util/vector.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/src/util/vector.ts -------------------------------------------------------------------------------- /std/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/README.md -------------------------------------------------------------------------------- /std/assembly.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly.json -------------------------------------------------------------------------------- /std/assembly/account.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/account.ts -------------------------------------------------------------------------------- /std/assembly/amount.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/amount.ts -------------------------------------------------------------------------------- /std/assembly/apierror.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/apierror.ts -------------------------------------------------------------------------------- /std/assembly/array.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/array.ts -------------------------------------------------------------------------------- /std/assembly/arraybuffer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/arraybuffer.ts -------------------------------------------------------------------------------- /std/assembly/atomics.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/atomics.ts -------------------------------------------------------------------------------- /std/assembly/bindings/accum.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/bindings/accum.ts -------------------------------------------------------------------------------- /std/assembly/bindings/accumupto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/bindings/accumupto.ts -------------------------------------------------------------------------------- /std/assembly/bindings/asyncify.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/bindings/asyncify.ts -------------------------------------------------------------------------------- /std/assembly/bindings/dom.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/bindings/dom.ts -------------------------------------------------------------------------------- /std/assembly/bindings/encode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/bindings/encode.ts -------------------------------------------------------------------------------- /std/assembly/bindings/hookapi.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/bindings/hookapi.ts -------------------------------------------------------------------------------- /std/assembly/bindings/node.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/bindings/node.ts -------------------------------------------------------------------------------- /std/assembly/builtins.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/builtins.ts -------------------------------------------------------------------------------- /std/assembly/compat.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/compat.ts -------------------------------------------------------------------------------- /std/assembly/console.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/console.ts -------------------------------------------------------------------------------- /std/assembly/copy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/copy.ts -------------------------------------------------------------------------------- /std/assembly/copyupto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/copyupto.ts -------------------------------------------------------------------------------- /std/assembly/crypto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/crypto.ts -------------------------------------------------------------------------------- /std/assembly/dataview.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/dataview.ts -------------------------------------------------------------------------------- /std/assembly/date.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/date.ts -------------------------------------------------------------------------------- /std/assembly/decimalfloat.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/decimalfloat.ts -------------------------------------------------------------------------------- /std/assembly/diagnostics.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/diagnostics.ts -------------------------------------------------------------------------------- /std/assembly/emitspec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/emitspec.ts -------------------------------------------------------------------------------- /std/assembly/eq.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/eq.ts -------------------------------------------------------------------------------- /std/assembly/error.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/error.ts -------------------------------------------------------------------------------- /std/assembly/function.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/function.ts -------------------------------------------------------------------------------- /std/assembly/hooknamespace.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/hooknamespace.ts -------------------------------------------------------------------------------- /std/assembly/hookstate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/hookstate.ts -------------------------------------------------------------------------------- /std/assembly/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/index.d.ts -------------------------------------------------------------------------------- /std/assembly/invoice.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/invoice.ts -------------------------------------------------------------------------------- /std/assembly/iterator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/iterator.ts -------------------------------------------------------------------------------- /std/assembly/keylet.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/keylet.ts -------------------------------------------------------------------------------- /std/assembly/ledgerdate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/ledgerdate.ts -------------------------------------------------------------------------------- /std/assembly/map.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/map.ts -------------------------------------------------------------------------------- /std/assembly/math.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/math.ts -------------------------------------------------------------------------------- /std/assembly/memory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/memory.ts -------------------------------------------------------------------------------- /std/assembly/number.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/number.ts -------------------------------------------------------------------------------- /std/assembly/object.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/object.ts -------------------------------------------------------------------------------- /std/assembly/params.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/params.ts -------------------------------------------------------------------------------- /std/assembly/performance.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/performance.ts -------------------------------------------------------------------------------- /std/assembly/process.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/process.ts -------------------------------------------------------------------------------- /std/assembly/pubkey.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/pubkey.ts -------------------------------------------------------------------------------- /std/assembly/rawcopy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/rawcopy.ts -------------------------------------------------------------------------------- /std/assembly/rawcopyupto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/rawcopyupto.ts -------------------------------------------------------------------------------- /std/assembly/reference.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/reference.ts -------------------------------------------------------------------------------- /std/assembly/regexp.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/regexp.ts -------------------------------------------------------------------------------- /std/assembly/rt.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/rt.ts -------------------------------------------------------------------------------- /std/assembly/rt/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/rt/README.md -------------------------------------------------------------------------------- /std/assembly/rt/common.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/rt/common.ts -------------------------------------------------------------------------------- /std/assembly/rt/index-incremental.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/rt/index-incremental.ts -------------------------------------------------------------------------------- /std/assembly/rt/index-minimal.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/rt/index-minimal.ts -------------------------------------------------------------------------------- /std/assembly/rt/index-stub.ts: -------------------------------------------------------------------------------- 1 | import "rt/stub"; 2 | -------------------------------------------------------------------------------- /std/assembly/rt/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/rt/index.d.ts -------------------------------------------------------------------------------- /std/assembly/rt/itcms.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/rt/itcms.ts -------------------------------------------------------------------------------- /std/assembly/rt/rtrace.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/rt/rtrace.ts -------------------------------------------------------------------------------- /std/assembly/rt/stub.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/rt/stub.ts -------------------------------------------------------------------------------- /std/assembly/rt/tcms.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/rt/tcms.ts -------------------------------------------------------------------------------- /std/assembly/rt/tlsf.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/rt/tlsf.ts -------------------------------------------------------------------------------- /std/assembly/serializedview.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/serializedview.ts -------------------------------------------------------------------------------- /std/assembly/set.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/set.ts -------------------------------------------------------------------------------- /std/assembly/sfcodes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/sfcodes.ts -------------------------------------------------------------------------------- /std/assembly/shared/feature.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/shared/feature.ts -------------------------------------------------------------------------------- /std/assembly/shared/runtime.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/shared/runtime.ts -------------------------------------------------------------------------------- /std/assembly/shared/target.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/shared/target.ts -------------------------------------------------------------------------------- /std/assembly/shared/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/shared/tsconfig.json -------------------------------------------------------------------------------- /std/assembly/shared/typeinfo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/shared/typeinfo.ts -------------------------------------------------------------------------------- /std/assembly/staticarray.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/staticarray.ts -------------------------------------------------------------------------------- /std/assembly/string.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/string.ts -------------------------------------------------------------------------------- /std/assembly/symbol.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/symbol.ts -------------------------------------------------------------------------------- /std/assembly/table.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/table.ts -------------------------------------------------------------------------------- /std/assembly/transaction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/transaction.ts -------------------------------------------------------------------------------- /std/assembly/transactionfield.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/transactionfield.ts -------------------------------------------------------------------------------- /std/assembly/transactiontype.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/transactiontype.ts -------------------------------------------------------------------------------- /std/assembly/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/tsconfig.json -------------------------------------------------------------------------------- /std/assembly/typedarray.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/typedarray.ts -------------------------------------------------------------------------------- /std/assembly/uri.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/uri.ts -------------------------------------------------------------------------------- /std/assembly/util/bytes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/util/bytes.ts -------------------------------------------------------------------------------- /std/assembly/util/casemap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/util/casemap.ts -------------------------------------------------------------------------------- /std/assembly/util/compare.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/util/compare.ts -------------------------------------------------------------------------------- /std/assembly/util/compareupto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/util/compareupto.ts -------------------------------------------------------------------------------- /std/assembly/util/equpto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/util/equpto.ts -------------------------------------------------------------------------------- /std/assembly/util/error.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/util/error.ts -------------------------------------------------------------------------------- /std/assembly/util/hash.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/util/hash.ts -------------------------------------------------------------------------------- /std/assembly/util/math.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/util/math.ts -------------------------------------------------------------------------------- /std/assembly/util/memory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/util/memory.ts -------------------------------------------------------------------------------- /std/assembly/util/number.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/util/number.ts -------------------------------------------------------------------------------- /std/assembly/util/raweq.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/util/raweq.ts -------------------------------------------------------------------------------- /std/assembly/util/repeatupto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/util/repeatupto.ts -------------------------------------------------------------------------------- /std/assembly/util/reversestore.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/util/reversestore.ts -------------------------------------------------------------------------------- /std/assembly/util/sort.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/util/sort.ts -------------------------------------------------------------------------------- /std/assembly/util/string.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/util/string.ts -------------------------------------------------------------------------------- /std/assembly/util/uri.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/util/uri.ts -------------------------------------------------------------------------------- /std/assembly/util/widerepeat.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/util/widerepeat.ts -------------------------------------------------------------------------------- /std/assembly/util/widerepeatupto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/util/widerepeatupto.ts -------------------------------------------------------------------------------- /std/assembly/vector.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/assembly/vector.ts -------------------------------------------------------------------------------- /std/portable.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/portable.json -------------------------------------------------------------------------------- /std/portable/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/portable/index.d.ts -------------------------------------------------------------------------------- /std/portable/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/portable/index.js -------------------------------------------------------------------------------- /std/types/assembly/index.d.ts: -------------------------------------------------------------------------------- 1 | import "../../assembly/index"; 2 | -------------------------------------------------------------------------------- /std/types/assembly/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "types": "index.d.ts" 3 | } -------------------------------------------------------------------------------- /std/types/portable/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/std/types/portable/index.d.ts -------------------------------------------------------------------------------- /std/types/portable/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "types": "index.d.ts" 3 | } -------------------------------------------------------------------------------- /tests/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/.gitignore -------------------------------------------------------------------------------- /tests/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/README.md -------------------------------------------------------------------------------- /tests/allocators/default/debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/allocators/default/debug.wat -------------------------------------------------------------------------------- /tests/allocators/default/release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/allocators/default/release.wat -------------------------------------------------------------------------------- /tests/allocators/forever.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/allocators/forever.js -------------------------------------------------------------------------------- /tests/allocators/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/allocators/index.js -------------------------------------------------------------------------------- /tests/allocators/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/allocators/package.json -------------------------------------------------------------------------------- /tests/allocators/runner.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/allocators/runner.js -------------------------------------------------------------------------------- /tests/allocators/stub/debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/allocators/stub/debug.wat -------------------------------------------------------------------------------- /tests/allocators/stub/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/allocators/stub/package.json -------------------------------------------------------------------------------- /tests/allocators/stub/release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/allocators/stub/release.wat -------------------------------------------------------------------------------- /tests/asconfig/.gitignore: -------------------------------------------------------------------------------- 1 | !entry-points/**/*/node_modules/ -------------------------------------------------------------------------------- /tests/asconfig/cyclical/assembly/index.ts: -------------------------------------------------------------------------------- 1 | assert(true); 2 | -------------------------------------------------------------------------------- /tests/asconfig/cyclical/extends.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./asconfig.json" 3 | } 4 | -------------------------------------------------------------------------------- /tests/asconfig/cyclical/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/asconfig/cyclical/package.json -------------------------------------------------------------------------------- /tests/asconfig/entry-points/asconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "entries": ["assembly/globals.ts"] 3 | } 4 | -------------------------------------------------------------------------------- /tests/asconfig/entry-points/assembly/data.ts: -------------------------------------------------------------------------------- 1 | export let forty_one = 41; 2 | -------------------------------------------------------------------------------- /tests/asconfig/entry-points/assembly/globalTwo.ts: -------------------------------------------------------------------------------- 1 | // @ts-ignore 2 | @global 3 | const ONE = 1; 4 | 5 | assert(ONE); 6 | -------------------------------------------------------------------------------- /tests/asconfig/entry-points/assembly/index.ts: -------------------------------------------------------------------------------- 1 | assert(answerToLife() == 42); 2 | -------------------------------------------------------------------------------- /tests/asconfig/entry-points/nested/asconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../asconfig.json" 3 | } 4 | -------------------------------------------------------------------------------- /tests/asconfig/entry-points/nested/assembly/index.ts: -------------------------------------------------------------------------------- 1 | assert(answerToLife() == 42); 2 | -------------------------------------------------------------------------------- /tests/asconfig/entry-points/node-resolution/asconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "entry-points/asconfig.json" 3 | } 4 | -------------------------------------------------------------------------------- /tests/asconfig/entry-points/node-resolution/assembly/index.ts: -------------------------------------------------------------------------------- 1 | assert(answerToLife() == 42); 2 | -------------------------------------------------------------------------------- /tests/asconfig/extends/asconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/asconfig/extends/asconfig.json -------------------------------------------------------------------------------- /tests/asconfig/extends/expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/asconfig/extends/expected.json -------------------------------------------------------------------------------- /tests/asconfig/extends/extends.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/asconfig/extends/extends.json -------------------------------------------------------------------------------- /tests/asconfig/extends/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/asconfig/extends/package.json -------------------------------------------------------------------------------- /tests/asconfig/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/asconfig/index.js -------------------------------------------------------------------------------- /tests/asconfig/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/asconfig/package.json -------------------------------------------------------------------------------- /tests/asconfig/target/asconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/asconfig/target/asconfig.json -------------------------------------------------------------------------------- /tests/asconfig/target/expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/asconfig/target/expected.json -------------------------------------------------------------------------------- /tests/asconfig/target/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/asconfig/target/package.json -------------------------------------------------------------------------------- /tests/browser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/browser.js -------------------------------------------------------------------------------- /tests/cli/options.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/cli/options.js -------------------------------------------------------------------------------- /tests/compiler.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler.js -------------------------------------------------------------------------------- /tests/compiler/.gitignore: -------------------------------------------------------------------------------- 1 | !node_modules/ 2 | -------------------------------------------------------------------------------- /tests/compiler/NonNullable.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/NonNullable.debug.wat -------------------------------------------------------------------------------- /tests/compiler/NonNullable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/NonNullable.ts -------------------------------------------------------------------------------- /tests/compiler/ReturnType.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/ReturnType.debug.wat -------------------------------------------------------------------------------- /tests/compiler/ReturnType.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/ReturnType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/ReturnType.ts -------------------------------------------------------------------------------- /tests/compiler/abi.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/abi.debug.wat -------------------------------------------------------------------------------- /tests/compiler/abi.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/abi.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/abi.release.wat -------------------------------------------------------------------------------- /tests/compiler/abi.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/abi.ts -------------------------------------------------------------------------------- /tests/compiler/asc-constants.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/asc-constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/asc-constants.ts -------------------------------------------------------------------------------- /tests/compiler/assert-nonnull.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/assert-nonnull.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/assert-nonnull.ts -------------------------------------------------------------------------------- /tests/compiler/assert.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/assert.debug.wat -------------------------------------------------------------------------------- /tests/compiler/assert.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/assert.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/assert.release.wat -------------------------------------------------------------------------------- /tests/compiler/assert.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/assert.ts -------------------------------------------------------------------------------- /tests/compiler/avoid-resolve-loop.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/avoid-resolve-loop.ts -------------------------------------------------------------------------------- /tests/compiler/basic-nullable.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/basic-nullable.json -------------------------------------------------------------------------------- /tests/compiler/basic-nullable.ts: -------------------------------------------------------------------------------- 1 | var a: i32 | null; 2 | 3 | ERROR("EOF"); // mark end and ensure fail 4 | -------------------------------------------------------------------------------- /tests/compiler/bigint-integration.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/bigint-integration.js -------------------------------------------------------------------------------- /tests/compiler/bigint-integration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/bigint-integration.ts -------------------------------------------------------------------------------- /tests/compiler/binary-error.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/binary-error.json -------------------------------------------------------------------------------- /tests/compiler/binary-error.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/binary-error.ts -------------------------------------------------------------------------------- /tests/compiler/binary.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/binary.debug.wat -------------------------------------------------------------------------------- /tests/compiler/binary.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/binary.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/binary.release.wat -------------------------------------------------------------------------------- /tests/compiler/binary.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/binary.ts -------------------------------------------------------------------------------- /tests/compiler/bindings/esm.debug.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/bindings/esm.debug.js -------------------------------------------------------------------------------- /tests/compiler/bindings/esm.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/bindings/esm.js -------------------------------------------------------------------------------- /tests/compiler/bindings/esm.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/bindings/esm.json -------------------------------------------------------------------------------- /tests/compiler/bindings/esm.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/bindings/esm.ts -------------------------------------------------------------------------------- /tests/compiler/bindings/raw.debug.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/bindings/raw.debug.js -------------------------------------------------------------------------------- /tests/compiler/bindings/raw.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/bindings/raw.js -------------------------------------------------------------------------------- /tests/compiler/bindings/raw.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/bindings/raw.json -------------------------------------------------------------------------------- /tests/compiler/bindings/raw.ts: -------------------------------------------------------------------------------- 1 | export * from "./esm"; 2 | -------------------------------------------------------------------------------- /tests/compiler/bool-Oz.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/bool-Oz.debug.wat -------------------------------------------------------------------------------- /tests/compiler/bool-Oz.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/bool-Oz.json -------------------------------------------------------------------------------- /tests/compiler/bool-Oz.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/bool-Oz.release.wat -------------------------------------------------------------------------------- /tests/compiler/bool-Oz.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/bool-Oz.ts -------------------------------------------------------------------------------- /tests/compiler/bool.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/bool.debug.wat -------------------------------------------------------------------------------- /tests/compiler/bool.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/bool.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/bool.release.wat -------------------------------------------------------------------------------- /tests/compiler/bool.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/bool.ts -------------------------------------------------------------------------------- /tests/compiler/builtins.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/builtins.debug.wat -------------------------------------------------------------------------------- /tests/compiler/builtins.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/builtins.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/builtins.release.wat -------------------------------------------------------------------------------- /tests/compiler/builtins.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/builtins.ts -------------------------------------------------------------------------------- /tests/compiler/call-inferred.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/call-inferred.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/call-inferred.ts -------------------------------------------------------------------------------- /tests/compiler/call-optional.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/call-optional.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/call-optional.ts -------------------------------------------------------------------------------- /tests/compiler/call-super.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/call-super.debug.wat -------------------------------------------------------------------------------- /tests/compiler/call-super.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/call-super.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/call-super.ts -------------------------------------------------------------------------------- /tests/compiler/cast.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/cast.debug.wat -------------------------------------------------------------------------------- /tests/compiler/cast.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/cast.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/cast.release.wat -------------------------------------------------------------------------------- /tests/compiler/cast.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/cast.ts -------------------------------------------------------------------------------- /tests/compiler/class-extends.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/class-extends.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/class-extends.ts -------------------------------------------------------------------------------- /tests/compiler/class-implements.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/class-implements.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/class-implements.ts -------------------------------------------------------------------------------- /tests/compiler/class-overloading.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/class-overloading.ts -------------------------------------------------------------------------------- /tests/compiler/class-static-function.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/class.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/class.debug.wat -------------------------------------------------------------------------------- /tests/compiler/class.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/class.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/class.release.wat -------------------------------------------------------------------------------- /tests/compiler/class.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/class.ts -------------------------------------------------------------------------------- /tests/compiler/closure.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/closure.json -------------------------------------------------------------------------------- /tests/compiler/closure.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/closure.ts -------------------------------------------------------------------------------- /tests/compiler/comma.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/comma.debug.wat -------------------------------------------------------------------------------- /tests/compiler/comma.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/comma.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/comma.release.wat -------------------------------------------------------------------------------- /tests/compiler/comma.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/comma.ts -------------------------------------------------------------------------------- /tests/compiler/const-folding.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/const-folding.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/const-folding.ts -------------------------------------------------------------------------------- /tests/compiler/constant-assign.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/constant-assign.json -------------------------------------------------------------------------------- /tests/compiler/constant-assign.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/constant-assign.ts -------------------------------------------------------------------------------- /tests/compiler/constructor-errors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/constructor-errors.ts -------------------------------------------------------------------------------- /tests/compiler/constructor.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/constructor.debug.wat -------------------------------------------------------------------------------- /tests/compiler/constructor.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/constructor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/constructor.ts -------------------------------------------------------------------------------- /tests/compiler/continue.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/continue.debug.wat -------------------------------------------------------------------------------- /tests/compiler/continue.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/continue.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/continue.release.wat -------------------------------------------------------------------------------- /tests/compiler/continue.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/continue.ts -------------------------------------------------------------------------------- /tests/compiler/converge.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/converge.debug.wat -------------------------------------------------------------------------------- /tests/compiler/converge.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/converge.json -------------------------------------------------------------------------------- /tests/compiler/converge.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/converge.release.wat -------------------------------------------------------------------------------- /tests/compiler/converge.ts: -------------------------------------------------------------------------------- 1 | export function test(): void {} 2 | -------------------------------------------------------------------------------- /tests/compiler/declare.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/declare.debug.wat -------------------------------------------------------------------------------- /tests/compiler/declare.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/declare.js -------------------------------------------------------------------------------- /tests/compiler/declare.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/declare.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/declare.release.wat -------------------------------------------------------------------------------- /tests/compiler/declare.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/declare.ts -------------------------------------------------------------------------------- /tests/compiler/do.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/do.debug.wat -------------------------------------------------------------------------------- /tests/compiler/do.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/do.json -------------------------------------------------------------------------------- /tests/compiler/do.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/do.release.wat -------------------------------------------------------------------------------- /tests/compiler/do.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/do.ts -------------------------------------------------------------------------------- /tests/compiler/duplicate-fields.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/duplicate-fields.json -------------------------------------------------------------------------------- /tests/compiler/duplicate-fields.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/duplicate-fields.ts -------------------------------------------------------------------------------- /tests/compiler/empty-exportruntime.ts: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/compiler/empty-new.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/empty-new.debug.wat -------------------------------------------------------------------------------- /tests/compiler/empty-new.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/empty-new.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/empty-new.release.wat -------------------------------------------------------------------------------- /tests/compiler/empty-new.ts: -------------------------------------------------------------------------------- 1 | __new(0, 0); 2 | -------------------------------------------------------------------------------- /tests/compiler/empty-use.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/empty-use.json -------------------------------------------------------------------------------- /tests/compiler/empty-use.ts: -------------------------------------------------------------------------------- 1 | Date.now(); 2 | 3 | ERROR("EOF"); 4 | -------------------------------------------------------------------------------- /tests/compiler/empty.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/empty.debug.wat -------------------------------------------------------------------------------- /tests/compiler/empty.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/empty.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/empty.release.wat -------------------------------------------------------------------------------- /tests/compiler/empty.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/compiler/enum-return-error.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/enum-return-error.ts -------------------------------------------------------------------------------- /tests/compiler/enum.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/enum.debug.wat -------------------------------------------------------------------------------- /tests/compiler/enum.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/enum.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/enum.release.wat -------------------------------------------------------------------------------- /tests/compiler/enum.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/enum.ts -------------------------------------------------------------------------------- /tests/compiler/export-default.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/export-default.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/export-default.ts -------------------------------------------------------------------------------- /tests/compiler/export.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/export.debug.wat -------------------------------------------------------------------------------- /tests/compiler/export.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/export.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/export.release.wat -------------------------------------------------------------------------------- /tests/compiler/export.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/export.ts -------------------------------------------------------------------------------- /tests/compiler/exportimport-table.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/exportimport-table.js -------------------------------------------------------------------------------- /tests/compiler/exportimport-table.ts: -------------------------------------------------------------------------------- 1 | var f = (): void => {}; 2 | f; 3 | -------------------------------------------------------------------------------- /tests/compiler/exports-lazy.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/exports-lazy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/exports-lazy.ts -------------------------------------------------------------------------------- /tests/compiler/exports.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/exports.debug.wat -------------------------------------------------------------------------------- /tests/compiler/exports.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/exports.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/exports.release.wat -------------------------------------------------------------------------------- /tests/compiler/exports.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/exports.ts -------------------------------------------------------------------------------- /tests/compiler/exportstar-rereexport.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/exportstar.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/exportstar.debug.wat -------------------------------------------------------------------------------- /tests/compiler/exportstar.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/exportstar.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/exportstar.ts -------------------------------------------------------------------------------- /tests/compiler/extends-baseaggregate.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/extends-recursive.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/extends-recursive.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/extends-recursive.ts -------------------------------------------------------------------------------- /tests/compiler/extends-self.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/extends-self.json -------------------------------------------------------------------------------- /tests/compiler/extends-self.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/extends-self.ts -------------------------------------------------------------------------------- /tests/compiler/external.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/external.debug.wat -------------------------------------------------------------------------------- /tests/compiler/external.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/external.js -------------------------------------------------------------------------------- /tests/compiler/external.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/external.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/external.release.wat -------------------------------------------------------------------------------- /tests/compiler/external.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/external.ts -------------------------------------------------------------------------------- /tests/compiler/features/README.md: -------------------------------------------------------------------------------- 1 | Test cases for future WebAssembly features. 2 | -------------------------------------------------------------------------------- /tests/compiler/features/exception-handling.ts: -------------------------------------------------------------------------------- 1 | // TODO 2 | -------------------------------------------------------------------------------- /tests/compiler/features/threads.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/features/threads.json -------------------------------------------------------------------------------- /tests/compiler/features/threads.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/features/threads.ts -------------------------------------------------------------------------------- /tests/compiler/field-initialization.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/field.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/field.debug.wat -------------------------------------------------------------------------------- /tests/compiler/field.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/field.json -------------------------------------------------------------------------------- /tests/compiler/field.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/field.release.wat -------------------------------------------------------------------------------- /tests/compiler/field.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/field.ts -------------------------------------------------------------------------------- /tests/compiler/for.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/for.debug.wat -------------------------------------------------------------------------------- /tests/compiler/for.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/for.json -------------------------------------------------------------------------------- /tests/compiler/for.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/for.release.wat -------------------------------------------------------------------------------- /tests/compiler/for.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/for.ts -------------------------------------------------------------------------------- /tests/compiler/function-call.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/function-call.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/function-call.ts -------------------------------------------------------------------------------- /tests/compiler/function-expression.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/function-inline-regressions.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/function-types.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/function-types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/function-types.ts -------------------------------------------------------------------------------- /tests/compiler/function.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/function.json -------------------------------------------------------------------------------- /tests/compiler/function.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/function.ts -------------------------------------------------------------------------------- /tests/compiler/getter-call.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/getter-call.debug.wat -------------------------------------------------------------------------------- /tests/compiler/getter-call.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/getter-call.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/getter-call.ts -------------------------------------------------------------------------------- /tests/compiler/getter-setter.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/getter-setter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/getter-setter.ts -------------------------------------------------------------------------------- /tests/compiler/heap.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/heap.debug.wat -------------------------------------------------------------------------------- /tests/compiler/heap.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/heap.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/heap.release.wat -------------------------------------------------------------------------------- /tests/compiler/heap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/heap.ts -------------------------------------------------------------------------------- /tests/compiler/if.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/if.debug.wat -------------------------------------------------------------------------------- /tests/compiler/if.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/if.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/if.release.wat -------------------------------------------------------------------------------- /tests/compiler/if.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/if.ts -------------------------------------------------------------------------------- /tests/compiler/import-memory.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/import-memory.json -------------------------------------------------------------------------------- /tests/compiler/import-memory.ts: -------------------------------------------------------------------------------- 1 | assert(memory.size() != 0); 2 | -------------------------------------------------------------------------------- /tests/compiler/import.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/import.debug.wat -------------------------------------------------------------------------------- /tests/compiler/import.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/import.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/import.release.wat -------------------------------------------------------------------------------- /tests/compiler/import.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/import.ts -------------------------------------------------------------------------------- /tests/compiler/indexing-regexp.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/indexing-regexp.json -------------------------------------------------------------------------------- /tests/compiler/indexing-regexp.ts: -------------------------------------------------------------------------------- 1 | / /[0]; 2 | -------------------------------------------------------------------------------- /tests/compiler/indexof-valueof.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/indexof-valueof.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/indexof-valueof.ts -------------------------------------------------------------------------------- /tests/compiler/infer-array.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/infer-array.debug.wat -------------------------------------------------------------------------------- /tests/compiler/infer-array.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/infer-array.json -------------------------------------------------------------------------------- /tests/compiler/infer-array.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/infer-array.ts -------------------------------------------------------------------------------- /tests/compiler/infer-generic.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/infer-generic.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/infer-generic.ts -------------------------------------------------------------------------------- /tests/compiler/infer-type.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/infer-type.debug.wat -------------------------------------------------------------------------------- /tests/compiler/infer-type.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/infer-type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/infer-type.ts -------------------------------------------------------------------------------- /tests/compiler/inline-locals.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/inline-locals.json -------------------------------------------------------------------------------- /tests/compiler/inline-locals.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/inline-locals.ts -------------------------------------------------------------------------------- /tests/compiler/inlining-blocklocals.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/inlining-recursive.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/inlining-recursive.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/inlining-recursive.ts -------------------------------------------------------------------------------- /tests/compiler/inlining.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/inlining.debug.wat -------------------------------------------------------------------------------- /tests/compiler/inlining.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/inlining.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/inlining.release.wat -------------------------------------------------------------------------------- /tests/compiler/inlining.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/inlining.ts -------------------------------------------------------------------------------- /tests/compiler/instanceof-class.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/instanceof-class.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/instanceof-class.ts -------------------------------------------------------------------------------- /tests/compiler/instanceof.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/instanceof.debug.wat -------------------------------------------------------------------------------- /tests/compiler/instanceof.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/instanceof.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/instanceof.ts -------------------------------------------------------------------------------- /tests/compiler/issues/1095.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/issues/1095.debug.wat -------------------------------------------------------------------------------- /tests/compiler/issues/1095.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/issues/1095.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/issues/1095.ts -------------------------------------------------------------------------------- /tests/compiler/issues/1225.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/issues/1225.debug.wat -------------------------------------------------------------------------------- /tests/compiler/issues/1225.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/issues/1225.json -------------------------------------------------------------------------------- /tests/compiler/issues/1225.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/issues/1225.ts -------------------------------------------------------------------------------- /tests/compiler/issues/1699.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/issues/1699.debug.wat -------------------------------------------------------------------------------- /tests/compiler/issues/1699.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/issues/1699.ts -------------------------------------------------------------------------------- /tests/compiler/issues/1714.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/issues/1714.debug.wat -------------------------------------------------------------------------------- /tests/compiler/issues/1714.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/issues/1714.ts -------------------------------------------------------------------------------- /tests/compiler/issues/1751.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/issues/1751.debug.wat -------------------------------------------------------------------------------- /tests/compiler/issues/1751.ts: -------------------------------------------------------------------------------- 1 | import { Foo } from './1751/_reexport'; 2 | -------------------------------------------------------------------------------- /tests/compiler/issues/1751/_common.ts: -------------------------------------------------------------------------------- 1 | export { Foo } from "./_foo"; 2 | -------------------------------------------------------------------------------- /tests/compiler/issues/1751/_foo.ts: -------------------------------------------------------------------------------- 1 | export class Foo {} 2 | -------------------------------------------------------------------------------- /tests/compiler/issues/1751/_reexport.ts: -------------------------------------------------------------------------------- 1 | export * from './_common'; // should propagate 2 | -------------------------------------------------------------------------------- /tests/compiler/issues/2085.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/issues/2085.json -------------------------------------------------------------------------------- /tests/compiler/issues/2085.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/issues/2085.ts -------------------------------------------------------------------------------- /tests/compiler/issues/2166.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/issues/2166.debug.wat -------------------------------------------------------------------------------- /tests/compiler/issues/2166.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/issues/2166.ts -------------------------------------------------------------------------------- /tests/compiler/issues/2202.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/issues/2202.json -------------------------------------------------------------------------------- /tests/compiler/issues/2202.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/issues/2202.ts -------------------------------------------------------------------------------- /tests/compiler/issues/2322/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/issues/2322/index.ts -------------------------------------------------------------------------------- /tests/compiler/issues/2322/lib.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/issues/2322/lib.ts -------------------------------------------------------------------------------- /tests/compiler/issues/2473.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/issues/2473.json -------------------------------------------------------------------------------- /tests/compiler/issues/2473.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/issues/2473.ts -------------------------------------------------------------------------------- /tests/compiler/limits.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/limits.debug.wat -------------------------------------------------------------------------------- /tests/compiler/limits.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/limits.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/limits.release.wat -------------------------------------------------------------------------------- /tests/compiler/limits.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/limits.ts -------------------------------------------------------------------------------- /tests/compiler/literals-errors.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/literals-errors.json -------------------------------------------------------------------------------- /tests/compiler/literals-errors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/literals-errors.ts -------------------------------------------------------------------------------- /tests/compiler/literals.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/literals.debug.wat -------------------------------------------------------------------------------- /tests/compiler/literals.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/literals.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/literals.release.wat -------------------------------------------------------------------------------- /tests/compiler/literals.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/literals.ts -------------------------------------------------------------------------------- /tests/compiler/logical.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/logical.debug.wat -------------------------------------------------------------------------------- /tests/compiler/logical.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/logical.json -------------------------------------------------------------------------------- /tests/compiler/logical.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/logical.release.wat -------------------------------------------------------------------------------- /tests/compiler/logical.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/logical.ts -------------------------------------------------------------------------------- /tests/compiler/loop-flow.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/loop-flow.debug.wat -------------------------------------------------------------------------------- /tests/compiler/loop-flow.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/loop-flow.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/loop-flow.release.wat -------------------------------------------------------------------------------- /tests/compiler/loop-flow.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/loop-flow.ts -------------------------------------------------------------------------------- /tests/compiler/loop-wrap.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/loop-wrap.debug.wat -------------------------------------------------------------------------------- /tests/compiler/loop-wrap.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/loop-wrap.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/loop-wrap.release.wat -------------------------------------------------------------------------------- /tests/compiler/loop-wrap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/loop-wrap.ts -------------------------------------------------------------------------------- /tests/compiler/managed-cast.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/managed-cast.json -------------------------------------------------------------------------------- /tests/compiler/managed-cast.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/managed-cast.ts -------------------------------------------------------------------------------- /tests/compiler/many-locals.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/many-locals.debug.wat -------------------------------------------------------------------------------- /tests/compiler/many-locals.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/many-locals.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/many-locals.ts -------------------------------------------------------------------------------- /tests/compiler/memcpy.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/memcpy.debug.wat -------------------------------------------------------------------------------- /tests/compiler/memcpy.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/memcpy.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/memcpy.release.wat -------------------------------------------------------------------------------- /tests/compiler/memcpy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/memcpy.ts -------------------------------------------------------------------------------- /tests/compiler/memmove.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/memmove.debug.wat -------------------------------------------------------------------------------- /tests/compiler/memmove.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/memmove.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/memmove.release.wat -------------------------------------------------------------------------------- /tests/compiler/memmove.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/memmove.ts -------------------------------------------------------------------------------- /tests/compiler/memory-config-errors.ts: -------------------------------------------------------------------------------- 1 | memory.data((2 << 16) + 1); 2 | -------------------------------------------------------------------------------- /tests/compiler/memory-config-shared-errors.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/compiler/memory.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/memory.debug.wat -------------------------------------------------------------------------------- /tests/compiler/memory.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/memory.json -------------------------------------------------------------------------------- /tests/compiler/memory.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/memory.release.wat -------------------------------------------------------------------------------- /tests/compiler/memory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/memory.ts -------------------------------------------------------------------------------- /tests/compiler/memorybase.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/memorybase.debug.wat -------------------------------------------------------------------------------- /tests/compiler/memorybase.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/memorybase.json -------------------------------------------------------------------------------- /tests/compiler/memorybase.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/memorybase.ts -------------------------------------------------------------------------------- /tests/compiler/memset.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/memset.debug.wat -------------------------------------------------------------------------------- /tests/compiler/memset.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/memset.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/memset.release.wat -------------------------------------------------------------------------------- /tests/compiler/memset.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/memset.ts -------------------------------------------------------------------------------- /tests/compiler/merge.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/merge.debug.wat -------------------------------------------------------------------------------- /tests/compiler/merge.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/merge.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/merge.release.wat -------------------------------------------------------------------------------- /tests/compiler/merge.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/merge.ts -------------------------------------------------------------------------------- /tests/compiler/mutable-globals.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/mutable-globals.js -------------------------------------------------------------------------------- /tests/compiler/mutable-globals.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/mutable-globals.json -------------------------------------------------------------------------------- /tests/compiler/mutable-globals.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/mutable-globals.ts -------------------------------------------------------------------------------- /tests/compiler/named-export-default.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/named-export-default.ts: -------------------------------------------------------------------------------- 1 | function get3(): i32 { 2 | return 3; 3 | } 4 | 5 | export {get3 as default}; 6 | -------------------------------------------------------------------------------- /tests/compiler/named-import-default.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/namespace.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/namespace.debug.wat -------------------------------------------------------------------------------- /tests/compiler/namespace.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/namespace.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/namespace.release.wat -------------------------------------------------------------------------------- /tests/compiler/namespace.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/namespace.ts -------------------------------------------------------------------------------- /tests/compiler/new.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/new.debug.wat -------------------------------------------------------------------------------- /tests/compiler/new.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/new.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/new.release.wat -------------------------------------------------------------------------------- /tests/compiler/new.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/new.ts -------------------------------------------------------------------------------- /tests/compiler/node_modules/_/node_modules/a/other.ts: -------------------------------------------------------------------------------- 1 | export const a_other = 11; 2 | -------------------------------------------------------------------------------- /tests/compiler/node_modules/b/index.ts: -------------------------------------------------------------------------------- 1 | export const b = 2; 2 | -------------------------------------------------------------------------------- /tests/compiler/node_modules/b/other.ts: -------------------------------------------------------------------------------- 1 | export const b_other = 22; 2 | -------------------------------------------------------------------------------- /tests/compiler/node_modules/b/other/index.ts: -------------------------------------------------------------------------------- 1 | export const b_other_index = 222; 2 | -------------------------------------------------------------------------------- /tests/compiler/nonnullable.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/nontrapping-f2i.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/nontrapping-f2i.json -------------------------------------------------------------------------------- /tests/compiler/nontrapping-f2i.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/nontrapping-f2i.ts -------------------------------------------------------------------------------- /tests/compiler/nullable.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/nullable.json -------------------------------------------------------------------------------- /tests/compiler/nullable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/nullable.ts -------------------------------------------------------------------------------- /tests/compiler/number.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/number.debug.wat -------------------------------------------------------------------------------- /tests/compiler/number.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/number.json -------------------------------------------------------------------------------- /tests/compiler/number.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/number.release.wat -------------------------------------------------------------------------------- /tests/compiler/number.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/number.ts -------------------------------------------------------------------------------- /tests/compiler/object-literal.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/object-literal.json -------------------------------------------------------------------------------- /tests/compiler/object-literal.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/object-literal.ts -------------------------------------------------------------------------------- /tests/compiler/optional-typeparameters.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/overflow.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/overflow.debug.wat -------------------------------------------------------------------------------- /tests/compiler/overflow.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/overflow.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/overflow.release.wat -------------------------------------------------------------------------------- /tests/compiler/overflow.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/overflow.ts -------------------------------------------------------------------------------- /tests/compiler/override-error.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/override-error.json -------------------------------------------------------------------------------- /tests/compiler/override-error.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/override-error.ts -------------------------------------------------------------------------------- /tests/compiler/packages.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/packages.debug.wat -------------------------------------------------------------------------------- /tests/compiler/packages.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/packages.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/packages.release.wat -------------------------------------------------------------------------------- /tests/compiler/packages.ts: -------------------------------------------------------------------------------- 1 | // node_modules/_/index.ts 2 | import "_"; 3 | -------------------------------------------------------------------------------- /tests/compiler/portable-conversions.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/possibly-null.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/possibly-null.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/possibly-null.ts -------------------------------------------------------------------------------- /tests/compiler/recursive.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/recursive.debug.wat -------------------------------------------------------------------------------- /tests/compiler/recursive.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/recursive.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/recursive.release.wat -------------------------------------------------------------------------------- /tests/compiler/recursive.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/recursive.ts -------------------------------------------------------------------------------- /tests/compiler/reexport.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/reexport.debug.wat -------------------------------------------------------------------------------- /tests/compiler/reexport.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/reexport.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/reexport.release.wat -------------------------------------------------------------------------------- /tests/compiler/reexport.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/reexport.ts -------------------------------------------------------------------------------- /tests/compiler/rereexport.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/rereexport.debug.wat -------------------------------------------------------------------------------- /tests/compiler/rereexport.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/rereexport.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/rereexport.ts -------------------------------------------------------------------------------- /tests/compiler/resolve-access.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/resolve-access.json -------------------------------------------------------------------------------- /tests/compiler/resolve-access.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/resolve-access.ts -------------------------------------------------------------------------------- /tests/compiler/resolve-binary.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/resolve-binary.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/resolve-binary.ts -------------------------------------------------------------------------------- /tests/compiler/resolve-elementaccess.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/resolve-function-expression.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/resolve-localortype.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/resolve-nested.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/resolve-nested.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/resolve-nested.ts -------------------------------------------------------------------------------- /tests/compiler/resolve-new.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/resolve-new.debug.wat -------------------------------------------------------------------------------- /tests/compiler/resolve-new.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/resolve-new.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/resolve-new.ts -------------------------------------------------------------------------------- /tests/compiler/resolve-propertyaccess.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/resolve-ternary.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/resolve-ternary.ts -------------------------------------------------------------------------------- /tests/compiler/resolve-unary.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/resolve-unary.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/resolve-unary.ts -------------------------------------------------------------------------------- /tests/compiler/retain-i32.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/retain-i32.debug.wat -------------------------------------------------------------------------------- /tests/compiler/retain-i32.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/retain-i32.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/retain-i32.ts -------------------------------------------------------------------------------- /tests/compiler/return-unreachable.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/return-unreachable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/return-unreachable.ts -------------------------------------------------------------------------------- /tests/compiler/return.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/return.debug.wat -------------------------------------------------------------------------------- /tests/compiler/return.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/return.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/return.release.wat -------------------------------------------------------------------------------- /tests/compiler/return.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/return.ts -------------------------------------------------------------------------------- /tests/compiler/rt/flags.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/rt/flags.debug.wat -------------------------------------------------------------------------------- /tests/compiler/rt/flags.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/rt/flags.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/rt/flags.release.wat -------------------------------------------------------------------------------- /tests/compiler/rt/flags.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/rt/flags.ts -------------------------------------------------------------------------------- /tests/compiler/rt/ids.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/rt/ids.debug.wat -------------------------------------------------------------------------------- /tests/compiler/rt/ids.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/rt/ids.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/rt/ids.release.wat -------------------------------------------------------------------------------- /tests/compiler/rt/ids.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/rt/ids.ts -------------------------------------------------------------------------------- /tests/compiler/rt/instanceof.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/rt/instanceof.json -------------------------------------------------------------------------------- /tests/compiler/rt/instanceof.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/rt/instanceof.ts -------------------------------------------------------------------------------- /tests/compiler/rt/runtime-stub-export.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/compiler/rt/runtime-stub.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/rt/runtime-stub.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/compiler/scoped.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/scoped.debug.wat -------------------------------------------------------------------------------- /tests/compiler/scoped.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/scoped.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/scoped.release.wat -------------------------------------------------------------------------------- /tests/compiler/scoped.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/scoped.ts -------------------------------------------------------------------------------- /tests/compiler/simd-errors.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/simd-errors.json -------------------------------------------------------------------------------- /tests/compiler/simd-errors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/simd-errors.ts -------------------------------------------------------------------------------- /tests/compiler/simd.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/simd.debug.wat -------------------------------------------------------------------------------- /tests/compiler/simd.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/simd.json -------------------------------------------------------------------------------- /tests/compiler/simd.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/simd.release.wat -------------------------------------------------------------------------------- /tests/compiler/simd.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/simd.ts -------------------------------------------------------------------------------- /tests/compiler/static-this.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/static-this.debug.wat -------------------------------------------------------------------------------- /tests/compiler/static-this.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/static-this.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/static-this.ts -------------------------------------------------------------------------------- /tests/compiler/std/array-access.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/std/array-access.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/array-access.ts -------------------------------------------------------------------------------- /tests/compiler/std/array-literal.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/array-literal.ts -------------------------------------------------------------------------------- /tests/compiler/std/array.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/array.debug.wat -------------------------------------------------------------------------------- /tests/compiler/std/array.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/array.json -------------------------------------------------------------------------------- /tests/compiler/std/array.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/array.release.wat -------------------------------------------------------------------------------- /tests/compiler/std/array.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/array.ts -------------------------------------------------------------------------------- /tests/compiler/std/arraybuffer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/arraybuffer.json -------------------------------------------------------------------------------- /tests/compiler/std/arraybuffer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/arraybuffer.ts -------------------------------------------------------------------------------- /tests/compiler/std/console.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/console.debug.wat -------------------------------------------------------------------------------- /tests/compiler/std/console.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/console.json -------------------------------------------------------------------------------- /tests/compiler/std/console.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/console.ts -------------------------------------------------------------------------------- /tests/compiler/std/dataview.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/dataview.json -------------------------------------------------------------------------------- /tests/compiler/std/dataview.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/dataview.ts -------------------------------------------------------------------------------- /tests/compiler/std/date-toisostring.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/std/date.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/date.debug.wat -------------------------------------------------------------------------------- /tests/compiler/std/date.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/date.json -------------------------------------------------------------------------------- /tests/compiler/std/date.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/date.release.wat -------------------------------------------------------------------------------- /tests/compiler/std/date.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/date.ts -------------------------------------------------------------------------------- /tests/compiler/std/hash.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/hash.debug.wat -------------------------------------------------------------------------------- /tests/compiler/std/hash.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/std/hash.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/hash.release.wat -------------------------------------------------------------------------------- /tests/compiler/std/hash.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/hash.ts -------------------------------------------------------------------------------- /tests/compiler/std/hook-param.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/hook-param.json -------------------------------------------------------------------------------- /tests/compiler/std/hook-param.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/hook-param.ts -------------------------------------------------------------------------------- /tests/compiler/std/ledgerdate.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/std/ledgerdate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/ledgerdate.ts -------------------------------------------------------------------------------- /tests/compiler/std/map.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/map.debug.wat -------------------------------------------------------------------------------- /tests/compiler/std/map.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/map.json -------------------------------------------------------------------------------- /tests/compiler/std/map.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/map.release.wat -------------------------------------------------------------------------------- /tests/compiler/std/map.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/map.ts -------------------------------------------------------------------------------- /tests/compiler/std/math.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/math.debug.wat -------------------------------------------------------------------------------- /tests/compiler/std/math.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/math.js -------------------------------------------------------------------------------- /tests/compiler/std/math.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/math.json -------------------------------------------------------------------------------- /tests/compiler/std/math.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/math.release.wat -------------------------------------------------------------------------------- /tests/compiler/std/math.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/math.ts -------------------------------------------------------------------------------- /tests/compiler/std/mod.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/mod.debug.wat -------------------------------------------------------------------------------- /tests/compiler/std/mod.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/mod.js -------------------------------------------------------------------------------- /tests/compiler/std/mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/std/mod.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/mod.release.wat -------------------------------------------------------------------------------- /tests/compiler/std/mod.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/mod.ts -------------------------------------------------------------------------------- /tests/compiler/std/new.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/new.debug.wat -------------------------------------------------------------------------------- /tests/compiler/std/new.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/std/new.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/new.release.wat -------------------------------------------------------------------------------- /tests/compiler/std/new.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/new.ts -------------------------------------------------------------------------------- /tests/compiler/std/number.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/number.debug.wat -------------------------------------------------------------------------------- /tests/compiler/std/number.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/std/number.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/number.ts -------------------------------------------------------------------------------- /tests/compiler/std/numberu.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/numberu.debug.wat -------------------------------------------------------------------------------- /tests/compiler/std/numberu.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/std/numberu.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/numberu.ts -------------------------------------------------------------------------------- /tests/compiler/std/object.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/object.debug.wat -------------------------------------------------------------------------------- /tests/compiler/std/object.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/std/object.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/object.ts -------------------------------------------------------------------------------- /tests/compiler/std/operator-overloading.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/std/pointer.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/pointer.debug.wat -------------------------------------------------------------------------------- /tests/compiler/std/pointer.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/std/pointer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/pointer.ts -------------------------------------------------------------------------------- /tests/compiler/std/set.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/set.debug.wat -------------------------------------------------------------------------------- /tests/compiler/std/set.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/set.json -------------------------------------------------------------------------------- /tests/compiler/std/set.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/set.release.wat -------------------------------------------------------------------------------- /tests/compiler/std/set.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/set.ts -------------------------------------------------------------------------------- /tests/compiler/std/static-array.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/std/static-array.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/static-array.ts -------------------------------------------------------------------------------- /tests/compiler/std/staticarray.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/staticarray.json -------------------------------------------------------------------------------- /tests/compiler/std/staticarray.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/staticarray.ts -------------------------------------------------------------------------------- /tests/compiler/std/string-casemapping.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/std/string-nonnull.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/std/string-nonnull.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/string-nonnull.ts -------------------------------------------------------------------------------- /tests/compiler/std/string.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/string.json -------------------------------------------------------------------------------- /tests/compiler/std/string.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/string.ts -------------------------------------------------------------------------------- /tests/compiler/std/symbol.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/symbol.json -------------------------------------------------------------------------------- /tests/compiler/std/symbol.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/symbol.ts -------------------------------------------------------------------------------- /tests/compiler/std/trace.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/trace.json -------------------------------------------------------------------------------- /tests/compiler/std/trace.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/trace.ts -------------------------------------------------------------------------------- /tests/compiler/std/typedarray.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/typedarray.ts -------------------------------------------------------------------------------- /tests/compiler/std/uri.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/uri.debug.wat -------------------------------------------------------------------------------- /tests/compiler/std/uri.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/uri.json -------------------------------------------------------------------------------- /tests/compiler/std/uri.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/std/uri.ts -------------------------------------------------------------------------------- /tests/compiler/super-inline.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/super-inline.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/super-inline.ts -------------------------------------------------------------------------------- /tests/compiler/switch.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/switch.debug.wat -------------------------------------------------------------------------------- /tests/compiler/switch.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/switch.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/switch.release.wat -------------------------------------------------------------------------------- /tests/compiler/switch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/switch.ts -------------------------------------------------------------------------------- /tests/compiler/tablebase.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/tablebase.json -------------------------------------------------------------------------------- /tests/compiler/tablebase.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/tablebase.ts -------------------------------------------------------------------------------- /tests/compiler/templateliteral.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/templateliteral.ts -------------------------------------------------------------------------------- /tests/compiler/ternary.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/ternary.debug.wat -------------------------------------------------------------------------------- /tests/compiler/ternary.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/ternary.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/ternary.ts -------------------------------------------------------------------------------- /tests/compiler/throw.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/throw.debug.wat -------------------------------------------------------------------------------- /tests/compiler/throw.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/throw.json -------------------------------------------------------------------------------- /tests/compiler/throw.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/throw.release.wat -------------------------------------------------------------------------------- /tests/compiler/throw.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/throw.ts -------------------------------------------------------------------------------- /tests/compiler/top-level.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/top-level.json -------------------------------------------------------------------------------- /tests/compiler/top-level.ts: -------------------------------------------------------------------------------- 1 | console.log("Hello there!"); // Should just deploy! -------------------------------------------------------------------------------- /tests/compiler/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/tsconfig.json -------------------------------------------------------------------------------- /tests/compiler/typealias.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/typealias.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/typealias.ts -------------------------------------------------------------------------------- /tests/compiler/typeof-regexp.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/typeof-regexp.json -------------------------------------------------------------------------------- /tests/compiler/typeof-regexp.ts: -------------------------------------------------------------------------------- 1 | typeof / /; 2 | -------------------------------------------------------------------------------- /tests/compiler/typeof.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/typeof.debug.wat -------------------------------------------------------------------------------- /tests/compiler/typeof.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/typeof.json -------------------------------------------------------------------------------- /tests/compiler/typeof.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/typeof.release.wat -------------------------------------------------------------------------------- /tests/compiler/typeof.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/typeof.ts -------------------------------------------------------------------------------- /tests/compiler/unary-errors.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/unary-errors.json -------------------------------------------------------------------------------- /tests/compiler/unary-errors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/unary-errors.ts -------------------------------------------------------------------------------- /tests/compiler/unary.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/unary.debug.wat -------------------------------------------------------------------------------- /tests/compiler/unary.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/unary.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/unary.release.wat -------------------------------------------------------------------------------- /tests/compiler/unary.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/unary.ts -------------------------------------------------------------------------------- /tests/compiler/unicode-identifier.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/unify-local-flags.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/unknown-bool-ident.ts: -------------------------------------------------------------------------------- 1 | if (1 <= unknown_var) {} 2 | ERROR("EOF"); -------------------------------------------------------------------------------- /tests/compiler/unsafe.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/unsafe.json -------------------------------------------------------------------------------- /tests/compiler/unsafe.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/unsafe.ts -------------------------------------------------------------------------------- /tests/compiler/void.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/void.debug.wat -------------------------------------------------------------------------------- /tests/compiler/void.json: -------------------------------------------------------------------------------- 1 | { 2 | "asc_flags": [ 3 | ] 4 | } 5 | -------------------------------------------------------------------------------- /tests/compiler/void.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/void.release.wat -------------------------------------------------------------------------------- /tests/compiler/void.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/void.ts -------------------------------------------------------------------------------- /tests/compiler/while.debug.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/while.debug.wat -------------------------------------------------------------------------------- /tests/compiler/while.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/while.json -------------------------------------------------------------------------------- /tests/compiler/while.release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/while.release.wat -------------------------------------------------------------------------------- /tests/compiler/while.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/compiler/while.ts -------------------------------------------------------------------------------- /tests/features.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/features.json -------------------------------------------------------------------------------- /tests/import/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/import/index.ts -------------------------------------------------------------------------------- /tests/parser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/parser.js -------------------------------------------------------------------------------- /tests/parser/also-identifier.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/parser/also-identifier.ts -------------------------------------------------------------------------------- /tests/parser/arrow-functions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/parser/arrow-functions.ts -------------------------------------------------------------------------------- /tests/parser/call-function-return.ts: -------------------------------------------------------------------------------- 1 | a = fn()(1, 2); 2 | -------------------------------------------------------------------------------- /tests/parser/call-function-return.ts.fixture.ts: -------------------------------------------------------------------------------- 1 | a = fn()(1, 2); 2 | -------------------------------------------------------------------------------- /tests/parser/calls.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/parser/calls.ts -------------------------------------------------------------------------------- /tests/parser/calls.ts.fixture.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/parser/calls.ts.fixture.ts -------------------------------------------------------------------------------- /tests/parser/class-abstract.ts: -------------------------------------------------------------------------------- 1 | class Foo { 2 | abstract bar(): void; 3 | } 4 | -------------------------------------------------------------------------------- /tests/parser/class-expression.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/parser/class-expression.ts -------------------------------------------------------------------------------- /tests/parser/class.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/parser/class.ts -------------------------------------------------------------------------------- /tests/parser/class.ts.fixture.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/parser/class.ts.fixture.ts -------------------------------------------------------------------------------- /tests/parser/constructor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/parser/constructor.ts -------------------------------------------------------------------------------- /tests/parser/continue-on-error.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/parser/continue-on-error.ts -------------------------------------------------------------------------------- /tests/parser/decorators.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/parser/decorators.ts -------------------------------------------------------------------------------- /tests/parser/do.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/parser/do.ts -------------------------------------------------------------------------------- /tests/parser/do.ts.fixture.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/parser/do.ts.fixture.ts -------------------------------------------------------------------------------- /tests/parser/empty.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/parser/empty.ts.fixture.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/parser/enum.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/parser/enum.ts -------------------------------------------------------------------------------- /tests/parser/enum.ts.fixture.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/parser/enum.ts.fixture.ts -------------------------------------------------------------------------------- /tests/parser/export-default-in-namespace.ts: -------------------------------------------------------------------------------- 1 | namespace Foo { 2 | export default bar; 3 | } 4 | -------------------------------------------------------------------------------- /tests/parser/export-default.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/parser/export-default.ts -------------------------------------------------------------------------------- /tests/parser/for.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/parser/for.ts -------------------------------------------------------------------------------- /tests/parser/for.ts.fixture.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/parser/for.ts.fixture.ts -------------------------------------------------------------------------------- /tests/parser/forof.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/parser/forof.ts -------------------------------------------------------------------------------- /tests/parser/forof.ts.fixture.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/parser/forof.ts.fixture.ts -------------------------------------------------------------------------------- /tests/parser/function-type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/parser/function-type.ts -------------------------------------------------------------------------------- /tests/parser/function.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/parser/function.ts -------------------------------------------------------------------------------- /tests/parser/import.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/parser/import.ts -------------------------------------------------------------------------------- /tests/parser/import.ts.fixture.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/parser/import.ts.fixture.ts -------------------------------------------------------------------------------- /tests/parser/index-declaration.ts: -------------------------------------------------------------------------------- 1 | class A { 2 | [key: i32]: f64; 3 | } 4 | -------------------------------------------------------------------------------- /tests/parser/index-declaration.ts.fixture.ts: -------------------------------------------------------------------------------- 1 | class A { 2 | [key: i32]: f64; 3 | } 4 | -------------------------------------------------------------------------------- /tests/parser/interface-errors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/parser/interface-errors.ts -------------------------------------------------------------------------------- /tests/parser/interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/parser/interface.ts -------------------------------------------------------------------------------- /tests/parser/literals.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/parser/literals.ts -------------------------------------------------------------------------------- /tests/parser/module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/parser/module.ts -------------------------------------------------------------------------------- /tests/parser/module.ts.fixture.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/parser/module.ts.fixture.ts -------------------------------------------------------------------------------- /tests/parser/namespace.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/parser/namespace.ts -------------------------------------------------------------------------------- /tests/parser/nonNullAssertion.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/parser/nonNullAssertion.ts -------------------------------------------------------------------------------- /tests/parser/object-literal.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/parser/object-literal.ts -------------------------------------------------------------------------------- /tests/parser/optional-property.ts: -------------------------------------------------------------------------------- 1 | class C { 2 | x?: i32; 3 | } 4 | -------------------------------------------------------------------------------- /tests/parser/parameter-order.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/parser/parameter-order.ts -------------------------------------------------------------------------------- /tests/parser/regexp.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/parser/regexp.ts -------------------------------------------------------------------------------- /tests/parser/regexp.ts.fixture.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/parser/regexp.ts.fixture.ts -------------------------------------------------------------------------------- /tests/parser/reserved-keywords.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/parser/reserved-keywords.ts -------------------------------------------------------------------------------- /tests/parser/string-binding.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/parser/string-binding.ts -------------------------------------------------------------------------------- /tests/parser/trailing-commas.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/parser/trailing-commas.ts -------------------------------------------------------------------------------- /tests/parser/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/parser/tsconfig.json -------------------------------------------------------------------------------- /tests/parser/type-signature.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/parser/type-signature.ts -------------------------------------------------------------------------------- /tests/parser/type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/parser/type.ts -------------------------------------------------------------------------------- /tests/parser/type.ts.fixture.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/parser/type.ts.fixture.ts -------------------------------------------------------------------------------- /tests/parser/var.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/parser/var.ts -------------------------------------------------------------------------------- /tests/parser/var.ts.fixture.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/parser/var.ts.fixture.ts -------------------------------------------------------------------------------- /tests/parser/while.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/parser/while.ts -------------------------------------------------------------------------------- /tests/parser/while.ts.fixture.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/parser/while.ts.fixture.ts -------------------------------------------------------------------------------- /tests/tokenizer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/tokenizer.js -------------------------------------------------------------------------------- /tests/transform/cjs/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/transform/cjs/index.js -------------------------------------------------------------------------------- /tests/transform/cjs/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "commonjs" 3 | } 4 | -------------------------------------------------------------------------------- /tests/transform/cjs/simple.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/transform/cjs/simple.js -------------------------------------------------------------------------------- /tests/transform/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/transform/index.js -------------------------------------------------------------------------------- /tests/transform/simple.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tests/transform/simple.js -------------------------------------------------------------------------------- /tsconfig-base.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/tsconfig-base.json -------------------------------------------------------------------------------- /util/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/util/README.md -------------------------------------------------------------------------------- /util/browser/fs.js: -------------------------------------------------------------------------------- 1 | export const promises = {}; 2 | -------------------------------------------------------------------------------- /util/browser/module.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/util/browser/module.js -------------------------------------------------------------------------------- /util/browser/path.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/util/browser/path.js -------------------------------------------------------------------------------- /util/browser/process.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/util/browser/process.js -------------------------------------------------------------------------------- /util/browser/url.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/util/browser/url.js -------------------------------------------------------------------------------- /util/cpu.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/util/cpu.d.ts -------------------------------------------------------------------------------- /util/cpu.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/util/cpu.js -------------------------------------------------------------------------------- /util/find.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/util/find.d.ts -------------------------------------------------------------------------------- /util/find.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/util/find.js -------------------------------------------------------------------------------- /util/node.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/util/node.d.ts -------------------------------------------------------------------------------- /util/node.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/util/node.js -------------------------------------------------------------------------------- /util/options.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/util/options.d.ts -------------------------------------------------------------------------------- /util/options.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/util/options.js -------------------------------------------------------------------------------- /util/terminal.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/util/terminal.d.ts -------------------------------------------------------------------------------- /util/terminal.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/util/terminal.js -------------------------------------------------------------------------------- /util/text.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/util/text.d.ts -------------------------------------------------------------------------------- /util/text.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/util/text.js -------------------------------------------------------------------------------- /util/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/util/tsconfig.json -------------------------------------------------------------------------------- /util/web.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/util/web.d.ts -------------------------------------------------------------------------------- /util/web.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XRPL-Labs/hookscript/HEAD/util/web.js --------------------------------------------------------------------------------