using grammars definition for first_lookup