...
Inside the gmBasic process, the transformation of a source codebase to a target codebase proceeds in 8 steps as directed by the actual translation script and all files that specify the migration configuration:
- Loading the source code code from disk into memory
- Pre-Processing the source code (e.g. compile/fix commands if specified)
- Building a detailed symbol table from the identifiers declared in the source code and in the external libraries referenced by the source code
- Building a low-level semantic model from the logic in the source code
- Analyzing the symbol table and semantic model and transforming it to fit the target requirements
- Authoring the target code for the semantic model and symbol table.
- Post-Processing the target code (optional)
- Publish the target code (write to disk as text bundle file)
...