ANN: Voodoo Compiler v0.6.1 Released

Robbert Haarman <>
Thu, 15 Apr 2010 23:03:47 +0200

          From comp.compilers

Related articles
ANN: Voodoo Compiler v0.6.1 Released (Robbert Haarman) (2010-04-15)
| List of all articles for this month |

From: Robbert Haarman <>
Newsgroups: comp.compilers,comp.lang.misc
Date: Thu, 15 Apr 2010 23:03:47 +0200
Organization: Wanadoo
Keywords: available
Posted-Date: 16 Apr 2010 01:50:34 EDT

Hello world!

I have just released version 0.6.1 of the Voodoo compiler, hosted at

Voodoo is a programming language designed to be a thin abstraction
layer over the native instructions of your CPU, without getting in the
way. The idea is to make native code generation easier by allowing
language implementors to target Voodoo, and letting the Voodoo
compiler handle the different native instruction sets. A description
of the Voodoo programming language can be found at

The Voodoo compiler is an implementation of the Voodoo programming
language for multiple target platforms. It provides a compiler program
that compiles Voodoo source code to machine code for multiple target
platforms, as well as a Ruby module that can be used to generate
machine code without the intermediate step of Voodoo source code.

Highlights of the new release include:

  - In addition to i386 and AMD64, the compiler now supports MIPS. Two
      new target platforms have been added: mips (big-endian) and mipsel
      (little-endian). For both platforms, the compiler can generate
      assembly code for use with the GNU assembler or use the GNU
      assembler to generate ELF object files containing machine code.

  - The platform autodetection code has been moved from configure to
      the run-time code. This means that the compiler now autodetects the
      platform it is running on and defaults to generating code for that
      platform if no target platform is explicitly specified. It is still
      possible to set a specific platform as the default using configure.

  - A new method, output_file_suffix, has been added to the code
      generator API. It returns the canonical suffix for files generated
      by the code generator.

  - The language description has been updated to reflect the current
      state of the language. In particular, descriptions of comments,
      sections, and alignment have been added, and some cases in which
      the semantics are not strictly defined have been noted.

  - Test cases have been updated, and bugs have been uncovered and

The Voodoo compiler is available under the LGPL version 2.1 and can be
downloaded from its homepage at
Users of RubyGems may install the Gem with "gem install voodoo".
The development version of the compiler is available from the Git
repository at

As always, I am looking forward to your comments and suggestions, and
I will be happy to answer any questions you may have.

Kind regards,


Success is getting what you want; happiness is wanting what you get.

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.