feat: parse YAML as yaml does
Ports the lexer, the concrete syntax tree parser and the composer of yaml 2.9.0, which Prettier parses YAML with. The tree matches yaml's on 1,382 of 1,383 inputs, the YAML Test Suite and the files under ~/repos/oss, and differs only in the text of an error. What the composer accepts matches Prettier on all of them.
Parent9e88f4b
15 files changed+4119-2
StackedSplit