Skip to content
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

feat(#36): Parse bytecode and save it into XMIR #38

Merged
merged 7 commits into from
Sep 1, 2023

Conversation

volodya-lombrozo
Copy link
Member

@volodya-lombrozo volodya-lombrozo commented Sep 1, 2023

Parse bytecode and save it into XMIR. XMIR.xsd file was added in order to ensure XMIR compatibility with other tools.

Closes:#36


PR-Codex overview

This PR focuses on adding logging functionality and XMIR generation to the codebase.

Detailed summary

  • Updated Boost interface to remove wildcard type parameter in the apply method.
  • Updated BoostLogged class to remove wildcard type parameter in the apply method.
  • Added slf4j-api and logback-classic dependencies to the pom.xml file.
  • Updated BytecodeIrTest class to make it final.
  • Updated verify.groovy file to check for the existence of XMIR object file.
  • Updated JeoMojo class to use Boosts class instead of BoostLogged class and added a new target parameter.
  • Updated BytecodeIr class to include schema validation for XMIR XML.
  • Added Boosts class to apply multiple boosts in a sequence.
  • Added Schema class to check XMIR XML against a schema.
  • Added XmirFootprintTest class to test XmirFootprint class.
  • Added XmirFootprint class to generate XMIR XML files.

The following files were skipped due to too many changes: src/main/java/org/eolang/jeo/XmirFootprint.java, src/main/resources/XMIR.xsd

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@volodya-lombrozo
Copy link
Member Author

@rultor merge

@rultor
Copy link
Contributor

rultor commented Sep 1, 2023

@rultor merge

@volodya-lombrozo OK, I'll try to merge now. You can check the progress of the merge here

@rultor rultor merged commit 0a846de into objectionary:master Sep 1, 2023
8 checks passed
@rultor
Copy link
Contributor

rultor commented Sep 1, 2023

@rultor merge

@volodya-lombrozo Done! FYI, the full log is here (took me 2min)

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