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

Fix XMIR to EO data conversion #2770

Merged
merged 13 commits into from
Jan 15, 2024

Conversation

c71n93
Copy link
Member

@c71n93 c71n93 commented Jan 11, 2024

Closes #2750


PR-Codex overview

Detailed summary

  • Added new imports in XMIR.java
  • Modified the toEO() method in XMIR.java
  • Added a new test method in StEoLoggedTest.java
  • Modified the xmir-to-eo.xsl file
  • Modified the StUnhex.java file
  • Added new imports in XMIRTest.java
  • Modified the parse() method in XMIRTest.java
  • Added new test methods in XMIRTest.java
  • Modified the StUnhexTest.java file

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

@c71n93
Copy link
Member Author

c71n93 commented Jan 11, 2024

@maxonfjvipon could you check this one, please?

@c71n93 c71n93 force-pushed the 2750-fixing-xmir-to-eo branch from 16f6a3d to 733cfa5 Compare January 11, 2024 15:18
@c71n93
Copy link
Member Author

c71n93 commented Jan 11, 2024

@maxonfjvipon I have fixed xmir-to-eo.xsl

Copy link
Member

@maxonfjvipon maxonfjvipon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@c71n93 good one, just one comment from my side

@@ -142,17 +142,10 @@ SOFTWARE.
<xsl:text>"""</xsl:text>
</xsl:when>
<xsl:when test="@base='bool'">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@c71n93 let's combine bool, int and float under one when condition

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

@maxonfjvipon maxonfjvipon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@c71n93 LGTM! Thanks

@c71n93
Copy link
Member Author

c71n93 commented Jan 15, 2024

@yegor256 could you check this one, please?

new EoSyntax(
"test", new InputOf(source)
).parsed()
return new Xsline(new TrClasspath<>(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@maxonfjvipon I'm curious, how does this line pass Qulice check? There is obviously an error. Maybe we have Qulice turned off for this module?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yegor256 no, we don't, seems like a bug in Qulice. And yes, there's something wrong with indentations. @c71n93 please move new TrClasspath<>( to the next line

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yegor256 @maxonfjvipon I have fixed the indentation, could you check, please?

@yegor256
Copy link
Member

@rultor merge

@rultor
Copy link
Contributor

rultor commented Jan 15, 2024

@rultor merge

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

@rultor rultor merged commit 12bc873 into objectionary:master Jan 15, 2024
12 checks passed
@rultor
Copy link
Contributor

rultor commented Jan 15, 2024

@rultor merge

@yegor256 Done! FYI, the full log is here (took me 41min)

@c71n93 c71n93 deleted the 2750-fixing-xmir-to-eo branch March 20, 2024 14:22
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.

XMIRTest.java:49-54: Xmir samples are not converted...
4 participants