8 releases

0.1.1 Dec 14, 2024
0.1.0 Jul 18, 2024
0.0.5 May 8, 2024
0.0.4 Mar 14, 2024
0.0.0 Dec 3, 2023

#856 in Rust patterns

Download history 9/week @ 2024-11-23 14/week @ 2024-11-30 13/week @ 2024-12-07 144/week @ 2024-12-14 6/week @ 2024-12-21 3/week @ 2025-01-04 3/week @ 2025-01-11 2/week @ 2025-01-18 65/week @ 2025-01-25 45/week @ 2025-02-08 19/week @ 2025-02-15

64 downloads per month
Used in 3 crates (2 directly)

GPL-3.0-or-later

370KB
11K SLoC

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

Dependencies