Added lambda function
Added grammar and defs for interactive mode