Added type classes
Implemented a scoped symbol table
Added generic type functions to ASTNode
overrided inferType function on AST nodes
Created IdentifierExpression for identifiers for proper type inference (instead of using LiteralExpression)
Improved statements ambiguity solver function. It was ok for function calls but failing for return statements. Solution that works in both cases: choose the node with less statements.
add variable declaration symbols to the scoped symbol table
use tuple type to improve the tuple transpolar. If the type is known we don't have tu use the Object.keys workaround ;)
fixed compilation bug with Xcode beta3
Removed some compilation warnings: Recommended syntax for array declarations has changed in Xcode beta 3
Inherit from NSObject to avoid some warnings with alloc
Implemented Type Declaration actions in the grammar rules
Type inference for tuple declarations: let (a,b) = (v1,v2) or let (a,b) = tuple
Added helper class to reuse ExpressionList for creating a TupleType from the grammar.y
Improved scoped symbols exportation for variable declarations
Add import statements
added type inference test file
added type inference test file
Added support for new Array declaration Syntax in Swift
Fixed merger conflicts and updated grammar.mm