eudoxia0 / cl-yaml

YAML parser for Common Lisp
61 stars 7 forks source link

Additional parser functionality, new emitter interface #11

Closed jasonmelbye closed 7 years ago

jasonmelbye commented 7 years ago

Modify parser to return more scalar data - including style data. Modify parser adding the ability to construct objects based on yaml tag. New emitter interface that wraps more closely around cl-libyaml.

The parser modifications extends the existing parser. The emitter interface is separate from, and sits along side the original interface.

The emitter interface allows for control over styling. The generic function emit-object allows for specializing object serialization.

eudoxia0 commented 7 years ago

Looks good, but I think you forgot to open a PR for cl-libyaml? Because of libyaml.write-handler.

jasonmelbye commented 7 years ago

Oh yes, I forget that I had a pending change in cl-libyaml. I've created a PR there.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-22.8%) to 77.184% when pulling 6acdefbe99536c193804a58ae7fa216f3320a74f on jasonmelbye:master into 3de4596da477f3328ccbeed3d882ee3c2a9b35df on eudoxia0:master.