Overview
VX/BASIC is a source-to-source translator that reads VAX and OpenVMS BASIC and emits ANSI C. It is not an interpreter and not a direct-to-machine-code compiler: the generated C is compiled by the host's own toolchain (gcc, clang, or cl) and linked against the VX/BASIC runtime library, producing a native executable for Linux, Windows, or macOS that keeps VAX BASIC semantics intact.
Because C is used as an intermediate language, the migrated application stays portable and can be maintained, built, and debugged with standard modern tools. Descriptor-based strings, RECORD and MAP memory layout, packed DECIMAL arithmetic, RMS record I/O, and ON ERROR handling are all preserved, so an application behaves the same way after conversion as it did on OpenVMS.
