Skip to content

Implement letfn* #257

Closed
@frenchy64

Description

@frenchy64

Needed

  • Add a new letfn expression (follow let)
    • Needs new header
    • Needs to be added to the variant in expression.hpp
    • Will fail to compile until there are overloads for eval and gen (the next step)
  • Add eval and codegen support
    • For eval just wrap the expression and call it, like we do with let normally. This will require codegen by letfn by wrapping it in a fn and the evaluating that
  • Ensure letfn macro is added and working
  • Add tests under test/jank/form/letfn

References

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions