pantoniou / libfyaml

Fully feature complete YAML parser and emitter, supporting the latest YAML spec and passing the full YAML testsuite.
MIT License
241 stars 74 forks source link

Stream output support #28

Closed kdubb closed 3 years ago

kdubb commented 4 years ago

Is there a way to stream output? I attempted to by creating and fy_event manually, but there appears to be no way to create tokens.

cruisercoder commented 3 years ago

This is unclear to me as well as to how you emit individual events. It looks like it's coupled with the parser.

pantoniou commented 3 years ago

As of 246fb50b55ac3ca961bf1679d6805cb2b286afde it is now possible to create events.

I assume this is for foreign language bindings. So TL;DR it is now supported, go wild.