savannah-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Savannah-hackers] submission of Vmgen - savannah.gnu.org


From: bernd . paysan
Subject: [Savannah-hackers] submission of Vmgen - savannah.gnu.org
Date: Tue, 13 Aug 2002 11:05:37 -0400

A package was submitted to savannah.gnu.org
This mail was sent to address@hidden, address@hidden


Bernd Paysan <address@hidden> described the package as follows:
License: gpl
Other License: 
Package: Vmgen
System name: vmgen
Type: 1

Description:
Vmgen generates much of the code for efficient virtual machine (VM) 
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 this:

add  ( i1 i2 -- i )
i = i1+i2;

Vmgen supports several techniques for writing efficient interpreters: virtual 
machine interpreters, threaded code, combining VM instructions into 
superinstructions, keeping the top-of-stack in a register, scheduling the 
dispatch of the next VM instruction, and a couple of minor optimizations.  
Interpreters created with vmgen usually are faster than competing interpreters 
and are typically only a factor of 2-10 slower than the code generateed by 
native-code compilers.

It already exists and you can download the latest distribution at 
http://www.complang.tuwien.ac.at/anton/vmgen/gforth-0.5.9-20010501.tar.gz

Other Software Required:
Gforth

Other Comments:
vmgen originally was a part of Gforth. We want to create a separate package, 
since it\'s useful to generate other VMs (such as Java VMs, Perl VMs or 
whatever), too.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]