Module Voodoo::CodeGenerator
In: voodoo/code_generator.rb

Module for selecting code generators.

The code generation API is described in Voodoo::CommonCodeGenerator.

Methods

Public Instance methods

Tests if a given architecture is supported

Get an array of supported architectures

Tests if a given format is supported for a given architecture

Get an array of supported formats for a given architecture

Get a code generator for the specified parameters

Register a code generator. Example:

  Voodoo::CodeGenerator.register_generator I386NasmGenerator,
                                           :architecture => :i386,
                                           :format => :nasm

[Validate]