Package org.ek9lang.compiler.phase10
package org.ek9lang.compiler.phase10
N - Code Generation.
This is the phase that actually generates output code (in some form) ready to be optimised and packaged.
Depending on the target Architecture specified, this phase will produce some form of file based output that can either be packaged into something executable or further processed by something like LLVM.
If the target is a JVM, then this phase will produce byte code that can be packaged into a 'Jar'.
On the other hand if the target was LLVM (and a specific binary target) then the output would just be llvm source files that can be consumed by the llvm compiler.
CodeGenerationPreparation
,
CodeGenerationConstants
,
CodeGenerationAggregates
and
CodeGenerationFunctions
-
ClassesClassDescriptionMULTI THREADED Generate all type of aggregates, typically classes, components, records, etc.MULTI THREADED Generate all constants that have been defined.MULTI THREADED Generate all functions (including dynamic and templated) that have been defined.MULTI THREADED Preparation to generate code.