help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Look for data serialisation format to implement communication betwee


From: Thien-Thi Nguyen
Subject: Re: Look for data serialisation format to implement communication between Emacs and external program.
Date: Sun, 06 Jan 2013 23:46:21 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux)

() Oleksandr Gavenko <address@hidden>
() Sun, 06 Jan 2013 23:44:46 +0200

   Another formats like JSON or sexp also look nice but I don't know
   about Emacs support for this formats.

   Any advice is welcome!

Go with sexp.  If you must touch XML, at least dress it up as SXML,
which, aside from being less ugly, extends interop to include Scheme.
E.g., sexp + SXML is the approach IXIN uses.  Latest announcement:
<http://lists.gnu.org/archive/html/help-texinfo/2013-01/msg00000.html>.

If you absolutely need a binary (non-text) format, then i would next
recommend bindat.el (info "(elisp) Byte Packing") for the job.  Perhaps
ASN.1 can be layered on top of bindat.el, but that doesn't sound so fun.
(But what do i know about ASN.1 and/or fun?)

Lastly, on the other side of the pipe, why not consider Emacs itself, or
Guile, or something that can ‘read’ a sexp?

-- 
Thien-Thi Nguyen ..................................... GPG key: 4C807502
.                  NB: ttn at glug dot org is not me                   .
.                 (and has not been since 2007 or so)                  .
.                        ACCEPT NO SUBSTITUTES                         .
........... please send technical questions to mailing lists ...........

Attachment: pgp8P3aCgV7P2.pgp
Description: PGP signature


reply via email to

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