function based script language using antlr