Skip to content

Modify arch structure - #22

Open
belovdv wants to merge 2 commits into
masterfrom
modify_arch_structure
Open

belovdv wants to merge 2 commits into
masterfrom
modify_arch_structure

Conversation

@belovdv

@belovdv belovdv commented Oct 19, 2026 •

Copy link
Copy Markdown
Collaborator

Implements part of #21

@belovdv
belovdv requested a review from uslsteen October 19, 2026 12:25
@belovdv belovdv self-assigned this Oct 19, 2026

@uslsteen uslsteen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

As far as I understand, firstly, PR #22 introduces syntactic constructs and assembly support. However, PR #22 contains far more changes than are strictly necessary for that purpose. I understand this might be too complicated, but I would like to see the independent changes related to modifying the architecture structure separated into different pull requests.

Comment thread python/lira/ir_ser_txt.py
return Statement(shape, outputs, outputs_types, kind, specifier, inputs)

def serialize_statement_seq(seq: StatementSeq) -> str:
return ''.join(f'{serialize_statement(s)};\n' for s in seq.stmts)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Do we really need these changes in this particular pull request?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

No, the third commit is mostly orthogonal.
The intention behind doing it in one go was to minimize breaking PRs. I can split it

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Split it, please.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Done

Comment thread ruby/lira/ir_ser_txt.rb
Comment thread rust/lira/src/ir_ser_txt.rs
Comment thread python/examples/example.py
Comment thread python/examples/example.py
Comment thread docs/ir_ops.md
Comment thread python/lira/arch.py
Comment thread ruby/lira/arch.rb
Comment thread rust/lira/src/arch.rs
@belovdv
belovdv force-pushed the modify_arch_structure branch from 0e42cf5 to 7242052 Compare October 20, 2026 14:23
@belovdv
belovdv marked this pull request as draft October 20, 2026 18:25
@belovdv
belovdv marked this pull request as ready for review October 20, 2026 18:25
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