Add nested if statement tests
Also contain if statements to a function body (if statements are not valid as top level constructs)
Conditionals
=================================================
-if a then 1 else 2
-if a; then b; else c
+f = if a then 1 else 2
+f = if a; then b; else c
+f = if (if a then b else c) then d else e
+f = if if a then b else c then d else e
---
(module
+ (function_declaration
+ (function_head
+ (function_identifier (variable_identifier)))
+ (function_body
(if_statement
(condition (variable_identifier))
(then_clause (integer))
- (else_clause (integer)))
+ (else_clause (integer)))))
+ (function_declaration
+ (function_head
+ (function_identifier (variable_identifier)))
+ (function_body
+ (if_statement
+ (condition (variable_identifier))
+ (then_clause (variable_identifier))
+ (else_clause (variable_identifier)))))
+ (function_declaration
+ (function_head
+ (function_identifier (variable_identifier)))
+ (function_body
+ (if_statement
+ (condition
+ (parenthesized
+ (if_statement
+ (condition (variable_identifier))
+ (then_clause (variable_identifier))
+ (else_clause (variable_identifier)))))
+ (then_clause (variable_identifier))
+ (else_clause (variable_identifier)))))
+ (function_declaration
+ (function_head
+ (function_identifier (variable_identifier)))
+ (function_body
+ (if_statement
+ (condition
(if_statement
(condition (variable_identifier))
(then_clause (variable_identifier))
(else_clause (variable_identifier))))
+ (then_clause (variable_identifier))
+ (else_clause (variable_identifier))))))
