theos-sh / rix

0 stars 0 forks source link

Sweep: Implement compilation for rnix LetIn expressions #1

Closed theoparis closed 1 month ago

theoparis commented 1 month ago

A nix expression containing let in looks something like this

let
  x = 1;
  y = 2;
in x + y

There should be a function in lib.rs that compiles a individual expression which matches on the Expr type and looks for LetIn nodes and Literal's. It should utilize cranelift

sweep-ai[bot] commented 1 month ago
Sweeping

0%
💎 Sweep Pro: You have unlimited Sweep issues

Actions


[!TIP] To recreate the pull request, edit the issue title or description.