atom / language-yaml

YAML package for Atom
Other
24 stars 39 forks source link

Add flow sequences and mapping support #69

Open winstliu opened 7 years ago

winstliu commented 7 years ago

Requirements

Description of the Change

Adds preliminary sequence mapping support based off of the YAML spec.

Alternate Designs

None.

Benefits

Mappings such as {key: value, key2: value2} and [a, b, key: value] will be tokenized properly.

Possible Drawbacks

Large code duplication because of small tweaks necessary to support the different sequence/mapping structure. Those will need to be kept in sync.

Applicable Issues

Fixes #5