sakrejda / protostan

Thin protobuf interface wrapper for Stan
BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

Add .proto spec. for output format #29

Closed sakrejda closed 8 years ago

sakrejda commented 8 years ago
sakrejda commented 8 years ago

@ariddell The easiest writer for me to write would just dump delimited output to a file (as in binary with a specific format). Is there something else I should do? Is there a Python-compatible FIFO or something like that? I guess I could also output JSON just as an intermediary.

ariddell commented 8 years ago

How about jsonlines, http://jsonlines.org/ -- it's just newline delimited json. Will that work?

sakrejda commented 8 years ago

Sure, that's the easiest thing you could've picked. On Jan 26, 2016 2:07 PM, "Allen Riddell" notifications@github.com wrote:

How about jsonlines, http://jsonlines.org/ -- it's just newline delimited json. Will that work?

— Reply to this email directly or view it on GitHub https://github.com/sakrejda/protostan/issues/29#issuecomment-175181818.

sakrejda commented 8 years ago

Modified to-do, the writer spec had me confused---you need multiple writers with protobuf because the goal is to formalize a little, rather than just dump text into protobuf wholesale.

sakrejda commented 8 years ago

Writers (real there are multiple for different purposes) are a separate issue.