Node:Changes, Next:, Previous:The future, Up:Top



Changes

User-visible changes between 0.5.9-20020822 and 0.5.9-20020901:

The store optimization is now disabled by default, but can be enabled by the user (see Store Optimization). Documentation for this optimization is also new.

User-visible changes between 0.5.9-20010501 and 0.5.9-20020822:

There is now a manual (in info, HTML, Postscript, or plain text format).

There is the vmgen-ex2 variant of the vmgen-ex example; the new variant uses a union type instead of lots of casting.

Both variants of the example can now be compiled with an ANSI C compiler (using switch dispatch and losing quite a bit of performance); tested with lcc.

Users of the gforth-0.5.9-20010501 version of Vmgen need to change several things in their source code to use the current version. I recommend keeping the gforth-0.5.9-20010501 version until you have completed the change (note that you can have several versions of Gforth installed at the same time). I hope to avoid such incompatible changes in the future.

The required changes are:


TAIL;
has been renamed into INST_TAIL; (less chance of an accidental match).
vm_A2B
now takes two arguments.
vm_twoA2B(b,a1,a2);
changed to vm_twoA2B(a1,a2,b) (note the absence of the ;).

Also some new macros have to be defined, e.g., INST_ADDR, and LABEL; some macros have to be defined in new contexts, e.g., VM_IS_INST is now also needed in the disassembler.