vx (V Executor)

vx is an interpreter for the V programming language.

The vx source code is AGPL-licensed and published on GitHub.


vx OPTIONS hello-world.vx

vx OPTIONS -e 'print "Hello world"'

In the first form, vx will attempt to open the file given as the first argument (hello-world.vx) and execute its contents as V code.

In the second form, vx will execute the parameter to the -e option (print "Hello world") as V code.

In either form, any subsequent arguments will be stored in argv.

The -Z option indicates "zero restrictions", and should only be specified for programs that the user trusts not to cause harm.


These facilities are not part of V proper because they interact with the host environment.