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 102 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
sofiarandas and others added 30 commits August 14, 2024 18:12
negate was fixed allready
To be relative to the current pc
…eveloping_in_own_module

# Conflicts:
#	OPAL/tactobc/src/test/resources/javaFiles/Switch.java
- tests now read all java files in folder so testcases can be added more dynamically
- changed documentation to match implementation
added ThrowException.java
minor changes
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