Skip to content

Conversation

lucahuen
Copy link

Added TACtoBC Module, allowing a conversion from Three-Address-Code to Bytecode:

  • Added TACtoBC Object: translates a Method Object with its corresponding AITACode into Bytecode Instructions by:
  • Assigning LVIndices to local variables inside the LVIndicesPreparation
  • Going through each Stmt and calling the StmtProcessor / ExprProcessor methods inside the StmtToInstructionTranslator

Note: TAC containing the CaughtException Statement can not be translated yet, meaning exceptions are not handled correctly at this time. However the testsuite already contains various tests regarding exceptions.

added parameters for: path to dir where the .class files are and for the path to dir where the new .class files are going to be located
They just have to be treated as reference types
@errt errt force-pushed the developing_in_own_module branch from 28d6269 to feba49b Compare May 15, 2025 11:24
@errt errt force-pushed the developing_in_own_module branch 3 times, most recently from 794f6b4 to abb5d8f Compare May 19, 2025 11:17
@errt errt force-pushed the developing_in_own_module branch from abb5d8f to adb1b49 Compare July 16, 2025 22:01
@errt errt force-pushed the developing_in_own_module branch from 8c0ef6b to 5f73f1f Compare September 3, 2025 12:09
@johannesduesing johannesduesing added this to the Release 8.0.0 milestone Sep 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants