The RVM in JavaScript


The RVM in JavaScript

This directory is the JavaScript host of the RVM: a port of the ooRexx host (../RVM.Machine.cls and the rest), module by module, that runs the same R-code under Node.js and in a web browser.

Under Node.js, the launcher rvm (a shell script next to this file) runs a program as the rexx command does:

./rvm FILE [ARGUMENTS]              (a source, or its R-code)
./rvm -e "say 'hello'" [ARGUMENTS]  (a program in a string)

How the modules fit together, the browser host, the compiler and the generated modules (and how to regenerate them) are described in ../doc/14-javascript.md; what each file contains and its counterpart in the ooRexx host, in ../doc/15-source-map.md. The R-code format is ../doc/04-rcode.md.


Copyright (c) 2026 Josep Maria Blasco. Part of the RVM, the Rexx Virtual Machine (https://rexx.epbcn.com/rexx-parser/). License: Apache License 2.0 (https://www.apache.org/licenses/LICENSE-2.0).