Skip to content

TACtoBC Module #256

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 117 commits into
base: develop
Choose a base branch
from
Open

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 2 times, most recently from 8492118 to 794f6b4 Compare May 19, 2025 10:49
@errt errt force-pushed the developing_in_own_module branch from 794f6b4 to abb5d8f Compare May 19, 2025 11:17
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.

2 participants