Skip to content

functionalscript/nanvm

Repository files navigation

NaNVM

A VM for FunctionalScript.

Prerequisites

Installation

To install the latest stable version from crates.io, run:

cargo install nanvm

To install the current version from the main branch, run:

cargo install --git https://github.com/functionalscript/nanvm

To unininstall the nanvm, run:

cargo uninstall nanvm

Command Line Interface

Converting DJS module into one file.

nanvm INPUT_FILE OUTPUT_FILE

Examples

From JSON to JSON:

nanvm notes/sample.json sample.json

From ESM module to JSON:

nanvm nanvm-lib/test/test_cache_b.d.mjs sample.json

From CommonJS module to ESM module

nanvm nanvm-lib/test/test_import_main.d.cjs sample.d.mjs

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published