Open kuangdai opened 4 years ago
@kuangdai
According to YMAL standard, I think the following node
foo: [1, 2, 3]
should be interpreted as a sequence, while mini-ymal interprets it as a string "[1, 2, 3]".
Is this easy to fix?
I've not been maintaining mini-yaml for a while, due to lack of time and time spent on other projects. Anyway, I've been planning to rewrite the parser, to use a state machine design instead of the current brute force parsing. It would probably require some work to implement json-like sequences in mini-yaml's current state.
BTW: can you move #include to YAML.cpp? This is a heavy header.
What "#include" are you referring to?
According to YMAL standard, I think the following node
foo: [1, 2, 3]
should be interpreted as a sequence, while mini-ymal interprets it as a string "[1, 2, 3]".
Is this easy to fix?
BTW: can you move #include to YAML.cpp? This is a heavy header.