With def as reserved word for functions declaration
Check for parentesis before ids in the lexer
Grammar corrections, main is a function and local variables can be declarated