Content-type: text/html; charset=UTF-8 Man page of XBVM

XBVM

Section: X11-Basic (1)
Updated: 04-Jan-2020
Index Return to Main Contents
 

NAME

xbvm - X11-Basic bytecode interpreter / virtual machine  

SYNOPSIS

xbvm [-q] [-v] [ options ] <filename>

 

DESCRIPTION

X11-Basic is a dialect of the BASIC programming language with graphics capability.

xbvm can be used to execute bytecode-binaries which have been compiled with xbbc(1) before. These bytecode files run about 10-20 times faster than the interpreted .bas files.

xbvm is a run-only interpreter, it has no interactive mode and no editing features. It is possible to pack one BASIC program together with the virtual machine to form a single excecutable file.

For a desciption of the X11-Basic language and usage of the interpreter see xbasic(1).

 

Filenames

xbvm processes one input file. The suffix of the input file is usually .b.

 

OPTIONS

-q
be quiet and print less debug information.
-v
be more verbose and print debug information.
--version
shows version, program and other information and exits.
-h, --help
print a short help and exit.

For detailed help and description of the implemented basic commands take a look at the README file coming with the package and the X11-Basic manual.

 

EXAMPLES

xbvm testme.b
xbvm -v testme.b

 

The virtual machine

The virtual machine is an interpreter for bytecode. It implements a virtual stack machine on which the bytecode is excecuted. The bytecode is very compact and similar to machine code, and it is independant of the actual processor hardware and such very portable. With an additional small step it can be translated to native assembler or machine code. (For linux this is done by the xb2c(1) translator and gcc()).

The bytecode interpreter is highly optimized, so that the gain in excecution speed is immense. Especially complex formulas are speed up by a factor 20. Last but not least, there is no way to recreate the source code from the bytecode.

 

VERSION

Page was created for V.1.27

 

BUG REPORTS

If you find a bug in the X11-Basic virtual machine, you should report it. But first, you should make sure that it really is a bug, and that it appears in the latest version of the X11-Basic package that you have.

Once you have determined that a bug actually exists, mail a bug report to kollo@users.sourceforge.net. If you have a fix, you are welcome to mail that as well! Suggestions may be mailed to the bug tracking system.

Comments and bug reports concerning this manual page should be directed to kollo@users.sourceforge.net.

 

AUTHOR

Markus Hoffmann <kollo@users.sourceforge.net>

 

COPYRIGHT

Copyright (C) 1997-2020 Markus Hoffmann <kollo@users.sourceforge.net>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

 

SEE ALSO

xbasic(1), xbbc(1), xbc(1), xb2c(1), ybasic(1)


 

Index

NAME
SYNOPSIS
DESCRIPTION
Filenames
OPTIONS
EXAMPLES
The virtual machine
VERSION
BUG REPORTS
AUTHOR
COPYRIGHT
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 14:37:49 GMT, February 25, 2020