Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 May 2014 12:30:38 -0400
From:      "Garance A Drosehn" <drosih@rpi.edu>
To:        "Jos Backus" <jos@catnook.com>
Cc:        FreeBSD Hackers <freebsd-hackers@freebsd.org>, Alfred Perlstein <bright@mu.org>
Subject:   Re: [GSoC] Machine readable output from userland utilities
Message-ID:  <75591BB0-4CF9-49F8-875C-FD5AAEA7A419@rpi.edu>
In-Reply-To: <CAETOPp0k8kESHkYShksovDm04pm4as9DoAfCm2-ojJ3in=4hsw@mail.gmail.com>
References:  <49E9736E-AD14-4647-8B15-30603D01360C@mail.bg> <537F0DD9.6090805@highsecure.ru> <537F11A9.8020504@mu.org> <CAETOPp0k8kESHkYShksovDm04pm4as9DoAfCm2-ojJ3in=4hsw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 23 May 2014, at 11:38, Jos Backus wrote:

> On May 23, 2014 2:15 AM, "Alfred Perlstein" <bright@mu.org> wrote
>> point to note is that the intent is to have an output that is very
>> consumable by modern scripting languages and modules.  That would
>> very likely be JSON output.
>>
>> -Alfred
>
> I'd actually prefer YAML output. YAML is a much more expressive
> superset of JSON (YAML parsers can read JSON), but given that VHS
> beat out BetaMax, I fully expect JSON to win, and YAML to fade
> into oblivion. Sad.
>
> Jos

FWIW, I've also been interested in doing something like this in the
lpr-related programs, although I haven't had much spare time to work
on it in the last few years.  Another format which looks interesting
to me is EDN (Extensible Data Notation), from the world of
Clojure/ClojureScript.  It looks like there are modules for working
with EDN in ruby, python, and perl.

https://github.com/edn-format/edn

-- 
Garance Alistair Drosehn                =     drosih@rpi.edu
Senior Systems Programmer               or   gad@FreeBSD.org
Rensselaer Polytechnic Institute;             Troy, NY;  USA



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?75591BB0-4CF9-49F8-875C-FD5AAEA7A419>