--- gforth/README.vmgen 2001/05/01 13:35:41 1.1 +++ gforth/README.vmgen 2002/06/02 17:02:56 1.3 @@ -1,5 +1,5 @@ Vmgen generates much of the code for efficient virtual machine (VM) -interpreters from a simple descriptions of the VM instructions. It +interpreters from simple descriptions of the VM instructions. It generates code for executing VM instructions (with optional tracing), for generating VM code, for disassembling VM code, and for profiling VM instruction sequences. A VM instruction description looks like @@ -22,8 +22,15 @@ used to advantage when implementing a re The main shortcoming in the current release is the lack of a user manual; however, there is a paper describing vmgen's operation (at http://www.complang.tuwien.ac.at/anton/vmgen/), and there is a simple, -working and somewhat commented example of using vmgen (in directory -vmgen-ex). +working and somewhat commented example of using vmgen. + +There are two versions of the example: in directory vmgen-ex you find +a version using many casts; in directory vmgen-ex2 you find a version +using unions instead of casts. + +The current release requires GCC both for building and for compiling +the resulting interpreters (threaded code cannot be implemented in +ANSI C). If you have bugs to report, suggestions to make, questions, or any other feedback, mail me (anton@mips.complang.tuwien.ac.at).