From Lex to Rex