-
Notifications
You must be signed in to change notification settings - Fork 122
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
Array types in function arguments #43
Comments
Personaly I'm not a fan of |
Isn't it a goal to support most of the Flow syntax? |
Flow supports both notatations and |
Yeah, so I assumed walt would do the same |
I want to clear something up. The goal is to use flow to accomplish a specific goal of using JavaScript syntax to write WebAssembly. Supporting most of flow would mean supporting most of JavaScript, which is unlikely. The Having an |
Maybe we can add flow as a part of the compiler? As you said reimplementing it isn't the goal but maybe we can leverage work that already been done. If we want to follow JavaScript and Flow syntax we can add flow as the first step of the validation. After that we will have the quarantee that we have correct typing so compiler can focus on more important things. |
Can Walt utilise the Flow AST? |
Overview
Array types should be acceptable function arguments. Currently, we do not have parser support for them.
Expected
A function can be declared with an array type as argument.
Actual
Acceptance Criteria
The text was updated successfully, but these errors were encountered: