-
Notifications
You must be signed in to change notification settings - Fork 16
WIP: Add support for function
#262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
@@ -378,10 +378,14 @@ binary_posix_conditional_op = !{ | |||
while_clause = !{ While ~ conditional_expression ~ do_group } | |||
until_clause = !{ Until ~ conditional_expression ~ do_group } | |||
|
|||
function_definition = !{ fname ~ "(" ~ ")" ~ linebreak ~ function_body } | |||
function_definition = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@prsabahrami Does this grammar look fine?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO it looks good and adheres to the docs.
Thank you!
Thanks for working on functions! |
The |
This PR aims to add support for
function
.