You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support $&(expr) for lvalue and $(expr) for rvalue antiquotations
inside _inline_pulse(...) expressions. The expressions inside
antiquotations are Haunted-C expressions that get parsed and emitted
via emit_lvalue / emit_rvalue respectively.
- Add InlinePulseToken enum (Verbatim/RValueAntiquot/LValueAntiquot)
and InlinePulseCode struct to IR
- Change ExprT::InlinePulse to use InlinePulseCode instead of InlineCode
- Add process_inline_pulse() to scan InlineCode tokens for $ patterns,
extract balanced-paren content, and parse inner expressions
- Update all passes (check, elab, emit, prune, pretty) for new types
- Add ExprKind::into_doc() for lvalue antiquotation emission
- Add test/antiquot.c with F*-verified antiquotation test
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments