0xMiden / 0xMiden/air-script

Refactor lowering from MIR to AIR

Aperta
#445 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
96
Fork
39
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

We should make the `translate_from_mir.rs` file a bit more readable - e.g., by splitting out some large `match` branches into helper functions and generally, maybe adding submodules etc.

_Originally posted by @bobbinth in https://github.com/0xMiden/air-script/pull/439#discussion_r2284332363_

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

The work is in translate_from_mir.rs. Start by reading the file to understand the MIR-to-AIR lowering logic, identify large match branches that can be extracted. Look for existing helper functions or modules in the codebase to follow patterns. The goal is to improve readability without changing functionality, so ensure tests pass after refactoring.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
rust
Ambito
compilers
Tipo di issue
Refactoring
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.