renamed "intermediate AST" to "simplified AST"

This commit is contained in:
Irmen de Jong
2025-01-10 20:33:44 +01:00
parent 66558f7638
commit 2ab2130000
10 changed files with 21 additions and 22 deletions

View File

@@ -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``

View File

@@ -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)

View File

@@ -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?