I'm trying to use JFlex to write a lexer for YAML, but found it hard, since:
- Indentation is sensitive in YAML
There are multiline string like:
longstr: > This is multiline line
is hard to implement.
I don't know how to determine and return correct token type for them.
I wander is it good choice to use JFlex? Or do I need some other tool for YAML?