Skip to content
This repository was archived by the owner on Aug 27, 2026. It is now read-only.

Add function calls - #21

Open
Siddharth Krishna (siddharth-krishna) wants to merge 6 commits into
mainfrom
fncall
Open

Add function calls#21
Siddharth Krishna (siddharth-krishna) wants to merge 6 commits into
mainfrom
fncall

Conversation

@siddharth-krishna

Copy link
Copy Markdown
Collaborator

Added a special "FnCall" op type to represent a function call. The subfunction of this op points to the function being called.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for doing this! The only suggestion I have is to maybe add code to the prettyprinter so that we can view functions similar to the hand-written examples we've been discussing.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants