monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] Re: Extending "automate stdio"


From: Nathaniel Smith
Subject: Re: [Monotone-devel] Re: Extending "automate stdio"
Date: Sun, 16 Jul 2006 22:59:49 -0700
User-agent: Mutt/1.5.11+cvs20060403

On Sun, Jul 16, 2006 at 06:51:32PM -0500, Timothy Brownawell wrote:
> It's apparently for "list" (and the 'e' is "end"), and comes from
> something called "bencoding".
> 
> ...looking to see what bencoding is, Google gives
> http://wiki.theory.org/BitTorrentSpecification . Which shows that the
> current input is *exactly* a series of bencoded lists of strings. Which
> makes me wonder if maybe it would be good to try to keep the new format
> as valid bencoding?

*cough* Coincidence, I swear!

There isn't really any critical need to, uh, preserve bittorrent
compatibility; it was more just a "if we need an arbitrary format, we
might as well just use someone else's that already got written down".
For the particular case of options, one could indeed just use the
dictionary encoding there (requiring keys and values to both be
strings).

Of course, IIRC the output is not bencode compatible anyway.

-- Nathaniel

-- 
Eternity is very long, especially towards the end.
  -- Woody Allen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]