Skip to content

feat: Brat Interpreter#87

Draft
mark-koch wants to merge 2 commits intomainfrom
feat/interpreter
Draft

feat: Brat Interpreter#87
mark-koch wants to merge 2 commits intomainfrom
feat/interpreter

Conversation

@mark-koch
Copy link
Collaborator

@mark-koch mark-koch commented May 23, 2025

Run using

stack run -- file.brat --run main --args 42  # Run `main` function on input `42`

Only Int inputs are supported through the CLI. Prints out the Hugr constructed by the program.

TODO:

  • Matching in kernels
  • Add more constructors
  • Tests
  • Nested closures might be broken :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant