Voodoo Compiler v0.7.0 Released

Voodoo Compiler v0.7.0 Released

Robbert Haarman


Posted by inglorion
at 2011-01-15 16:02:10

I have just released version 0.7.0 of the Voodoo compiler. This release adds the following new features:

Blocks: these provide scopes in which local variables may be defined with let. Such variables exist from the end of the let statement until the end of the block. Blocks can occur in any place where an action can occur. They are started with block and ended with end block.

Chained conditionals: it is now possible to write else if<test>, instead of requiring a nested if in the else clause.

Shift and rotate: shift actions (asr, bsr, shl, shr) and rotate actions (rol, ror) have been added.

Return without value: return may now be used without specifying an expression to evaluate. This causes an undefined value to be returned from the function.