[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Look for data serialisation format to implement communication betwee
Re: Look for data serialisation format to implement communication between Emacs and external program.
Sun, 06 Jan 2013 23:46:21 +0100
Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux)
() Oleksandr Gavenko <firstname.lastname@example.org>
() 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:
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 ...........
Description: PGP signature