Re: Reg: PyYAML grammar
Steve Schafer <steve-bHQK/pGi2DVWk0Htik3J/[email protected]>
| Newsgroups | gmane.text.yaml.general |
|---|---|
| Organization | Fenestra Technologies |
| Message-ID | <[email protected]> |
On Mon, 13 Jun 2011 17:20:45 -0700, you wrote: >Take a look a protobuf as an example of combining human readable and >binary encodings if you want to see a worked hybrid. Protobuf and YAML are quite different things. They complement each other, but neither is a replacement for the other. The protobuf binary encoding is primarily an "over the wire" format; no one ever looks at it, except very rarely (during debugging). YAML is more of an endpoint format. As such, YAML -> protbuf ... protobuf -> YAML can be a perfectly reasonable thing to do. The most successful computer/computer and computer/human protocols are heavily layered, with each layer having a well-defined set of responsibilities. Using the OSI model as the analogy, protobuf lives near the presentation/session (6/5) layer boundary, whereas YAML lives near the application/presentation (7/6) layer boundary. -Steve Schafer ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev