basic parsing of lambda expressions