mirror of
https://github.com/irmen/prog8.git
synced 2025-09-25 08:25:32 +00:00
renamed "intermediate AST" to "simplified AST"
This commit is contained in:
@@ -204,7 +204,7 @@ One or more .p8 module files
|
||||
Prints the "compiler AST" (the internal representation of the program) after all processing steps.
|
||||
|
||||
``-printast2``
|
||||
Prints the "intermediate AST" which is the reduced representation of the program.
|
||||
Prints the "simplified AST" which is the reduced representation of the program.
|
||||
This is what is used in the code generators, to generate the executable code from.
|
||||
|
||||
``-quietasm``
|
||||
|
@@ -228,7 +228,7 @@ Some notes and references into the compiler's source code modules:
|
||||
syntax nodes closely representing the Prog8 program structure. (``compilerAst`` module)
|
||||
#. For code generation, a much simpler AST has been defined that replaces the *Compiler AST*.
|
||||
Most notably, node type information is now baked in. (``codeCore`` module, Pt- classes)
|
||||
#. An *Intermediate Representation* has been defined that is generated from the intermediate AST. This IR
|
||||
#. An *Intermediate Representation* has been defined that is generated from the simplified AST. This IR
|
||||
is more or less a machine code language for a virtual machine - and indeed this is what the built-in
|
||||
prog8 VM will execute if you use the 'virtual' compilation target and use ``-emu`` to launch the VM.
|
||||
(``intermediate`` and ``codeGenIntermediate`` modules, and ``virtualmachine`` module for the VM related stuff)
|
||||
|
@@ -2,7 +2,6 @@ TODO
|
||||
====
|
||||
|
||||
- change library routines that now return 1 value + say, another in R0, to just return 2 values now that this is supported for normal subroutines too.
|
||||
- rename "intermediate AST" into "simplified AST" (docs + classes in code)
|
||||
|
||||
- add paypal donation button as well?
|
||||
- announce prog8 on the 6502.org site?
|
||||
|
Reference in New Issue
Block a user