We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
parselet
function
In my aoc2022 wishlist, I proposed an alternative syntax to define parselets and functions in Tokay, using the keywords parselet and function.
The syntax is considered as alternative, because the grammar-style of Tokay's program files should still remain and used in first place.
The naming convention for parselet and function applies the same way as established.
# Current syntax Statement : @<T> x = 1{ # ... } # Alternative syntax parselet Statement<T>(x = 1) { # ... }
# Current syntax get_index : @<x> i = 1, j = 2 { # ... } # Alternative syntax function get_index<x>(i = 1, j = 2) { # ... }
The text was updated successfully, but these errors were encountered:
phorward
No branches or pull requests
In my aoc2022 wishlist, I proposed an alternative syntax to define parselets and functions in Tokay, using the keywords parselet and function.
The syntax is considered as alternative, because the grammar-style of Tokay's program files should still remain and used in first place.
The naming convention for parselet and function applies the same way as established.
parselet
-keywordfunction
-keywordThe text was updated successfully, but these errors were encountered: