- Home
- Inter Modules
- codegen
The code generation pipeline. This is version 1.
-
-
Codegen Module - Setting up the use of this module. -
Stages - To create the stages through which code generation proceeds. -
Architecture - To deal with multiple inter architectures. -
Link Instructions - Inter often needs to assimilate or otherwise deal with architecture-neutral kits of linkable material, and this is where such requirements are noted. -
Pipelines - To build and run through pipelines of code generation stages.
-
-
Chapter 2: Miscellaneous Pipeline Stages
-
Linker - To link inter from I7 with template code. -
I6 Template Reader - Inform 6 meta-language is the language used by template files (with extension |.i6t|); we need tp be able to read it here in order to assimilate template code. -
Parse Linked Matter - To generate the initial state of storage for variables. -
Resolving Conditional Compilation - To generate the initial state of storage for variables. -
Assimilate Linked Matter - To assimilate the material in parsed non-code splats. -
Resolve External Symbols - To make sure certain symbol names translate into globally unique target symbols. -
Inspect Plugs - To make sure certain symbol names translate into globally unique target symbols. -
Uniqueness - To make sure certain symbol names translate into globally unique target symbols. -
Reconcile Verbs - To reconcile clashes between assimilated and originally generated verbs. -
Eliminate Redundant Matter - To remove (for example) functions which we can prove will never be called or referred to as values. -
Eliminate Redundant Labels - To remove labels which are defined but never jumped to. -
Eliminate Redundant Operations - To remove logical or arithmetic operations which do nothing.
-
-
-
Synoptic Utilities - Managing the generation of code and arrays in the synoptic module, which is put together from resources all over the Inter tree. -
Literal Text - To alphabetise and make unique the packed text constants. -
Responses - To renumber the responses and construct suitable arrays. -
Rules - To renumber the rulebooks and construct suitable functions and arrays. -
Activities - To renumber the activities and construct suitable functions and arrays.
-
-
Chapter 4: Inter to Final Code
-
Code Generation - To generate final code from intermediate code. -
Frame Control - To manage the final-code process, at the frame level. -
Constants and Literals - To generate final code for constants, including arrays. -
Instances and Properties - To generate the initial state of storage for instances and their properties, and all associated metadata. -
Variables - To generate the initial state of storage for variables.
-
-
-
Final Targets - To create the range of possible targets into which Inter can be converted. -
Final Textual Inter - To create the range of possible targets into which Inter can be converted. -
Final Binary Inter - To create the range of possible targets into which Inter can be converted. -
Final Inventory - To print a summary of the contents of a repository. -
Generating Inform 6 - To generate I6 code from intermediate code.
-
Powered by Inweb.