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

Introduce XSL transformation that unrolls nested dispatches into a single object #3377

Closed
maxonfjvipon opened this issue Sep 17, 2024 · 1 comment
Assignees

Comments

@maxonfjvipon
Copy link
Member

The canonical XMIR ready to be converted to java is XMIR is reversed notation, explained here and here.
But it seems it's quite hard to read and not convenient for some extra cases, like this IT.

So it would be better to have a transformation that would turn this XMIR:

<o base=".seq">
  <o base=".eolang">
    <o base=".org">
      <o base="Q"/>
    </o>
    </o>
  </o>
  <o base=".opcode">
    <o base=".jeo">
      <o base=".eolang">
        <o base=".org">
          <o base="Q"/>
        </o>
      </o>
    </o>
  </o>
</o>

into such one:

<o base="Q.org.eolang.seq">
  <o base="Q.org.eolang.jeo.opcode"/>
</o>
@maxonfjvipon
Copy link
Member Author

Done here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant