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

XMIR representation of an alias? #3333

Closed
volodya-lombrozo opened this issue Aug 14, 2024 · 4 comments
Closed

XMIR representation of an alias? #3333

volodya-lombrozo opened this issue Aug 14, 2024 · 4 comments
Labels

Comments

@volodya-lombrozo
Copy link
Member

volodya-lombrozo commented Aug 14, 2024

Since I can't compile any EO program I'm stacked with the following problem. Let's imagine we have the following EO program:

# Comment here.
[args] > app
  seq > @
    "a" > a
    QQ.io.stdout
      a

As you can see, I declare the a variable. Most probably, it will be presented in xmir as the following definition:

 <o base="string" line="4" name="a">... hex...</o>

But how will it be represented as an argument of QQ.io.stdout?

Should it be:

 <o name="a"/>

or

 <o base="string" name="a"/>

or

 <o base="string" line="4" name="a"/>

or

 <o line="4" name="a"/>

?

Of course, it would be much (!) faster if I were able to check these transformations on my own by using the compiler.

@volodya-lombrozo
Copy link
Member Author

@yegor256 Could you help here, please? It's kind of blocking issue.

Copy link

@volodya-lombrozo thanks for the report, here is a feedback:

Problems

  • The bug report's title, "XMIR representation of an alias?", is ambiguous and fails to succinctly summarize the issue at hand.
  • The report lacks details about the expected and actual behavior, making it challenging for the developer to grasp the problem or recognize it as a bug.
  • Absence of information about the environment or software version where the bug was encountered in the report. Such details are vital for recreating the issue.

I would recommend specifying the expected and actual behavior to clarify the issue and recognize it as a bug.

Please fix the bug report in order it to get resolved faster.
Analyzed with gpt-4

@maxonfjvipon
Copy link
Member

maxonfjvipon commented Aug 14, 2024

@volodya-lombrozo it'll be represented as

<o base="a" line="6"/>

@volodya-lombrozo
Copy link
Member Author

@maxonfjvipon Thank you. Will implement it as you suggested.

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

No branches or pull requests

2 participants