0xMiden / 0xMiden/compiler

Use the "real" signature of the foreign procedure in `ExecFpi` op

Offen
#1,176 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @greenhat Auf GitHub ansehen
Vorherrschende Sprache
Rust
Sterne
115
Forks
84
Ø Merge
1 T. 8 Std.
Gemergte PRs (30 T.)
15

Beschreibung

I can't help but feel it would be better if we could somehow use the "real" signature of the foreign procedure somehow, probably by storing the type signature in an attribute and making the operands/results `AnyType` - but I see that more as a future improvement - this will do for now I think.

_Originally posted by @bitwalker in https://github.com/0xMiden/compiler/pull/1113#discussion_r3400376854_

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Look at the ExecFpi op implementation and the foreign procedure handling in the compiler. The issue suggests storing type signatures in an attribute and changing operands/results to AnyType. Start by examining the PR #1113 discussion and the current code around foreign procedures to understand the context.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
rust
Bereich
compilers
Issue-Typ
Refactoring
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Ruhig
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
30/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.