Update lex() to match new syntax
Update readme for new syntax