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
The following code does not parse:
let f(a:arr int) = var c : arr[2] complex16 := {complex16{re=0; im=0}, complex16{re=0; im=0}}; return 0 in read[int] >>> emit f({1,2}) >>> write[int]
since static initialization of complex array seems not allowed at the moment.
The text was updated successfully, but these errors were encountered:
This is more than just a parser change; the AST cannot represent this either, and hence codegen would have to be modified too. @dimitriv ?
Sorry, something went wrong.
Partly implemented. See #85.
Allow for expressions as array elements
91ec37e
This partly implements #28 and #37, but I not updated codegen (#85). However, this may also be useful in the optimizer.
edsko
No branches or pull requests
The following code does not parse:
let f(a:arr int) =
var c : arr[2] complex16 := {complex16{re=0; im=0}, complex16{re=0; im=0}};
return 0
in
read[int] >>> emit f({1,2}) >>> write[int]
since static initialization of complex array seems not allowed at the moment.
The text was updated successfully, but these errors were encountered: