Allow assembly stack to translate its source.

This commit is contained in:
chriseth
2019-11-28 16:15:15 +01:00
parent c1db89161b
commit ccfc1840a9
4 changed files with 45 additions and 24 deletions
+3
View File
@@ -81,6 +81,9 @@ public:
/// If the settings (see constructor) disabled the optimizer, nothing is done here.
void optimize();
/// Translate the source to a different language / dialect.
void translate(Language _targetLanguage);
/// Run the assembly step (should only be called after parseAndAnalyze).
MachineAssemblyObject assemble(Machine _machine) const;