Closed lucarin91 closed 9 years ago
I have re-write the translateFunCall()
The translateFunDecl() we have another syntax: the first child is the block, the second child is the return type (if there) the others children are the paramters.
the function in funw@p :
fun add ( int x, int y ) int {.<block>.}
became in f#:
`let add x y : int =
I see that in the FsCodeGenerator(@teto1992 , @dido18) there is same mistake about the function call and the function declaration. Here I explain how have to be represented in the AST structure:
Instead the function call node have to be: