4 ms·
It is context free. INDENT and OUTDENT are directly equivalent to { and } in other grammars.
by lucian1900 14y ago
It is context free. INDENT and OUTDENT are directly equivalent to { and } in other grammars.
- peterwoo 14y agoThe difference is that INDENT and OUTDENT have to be defined by context-sensitive productions. Even if this occurs in what would otherwise be the "lexing" stage of the parser.