* fyi, refined mixp in ttn-do
@ 2007-10-29 11:25 Thien-Thi Nguyen
0 siblings, 0 replies; only message in thread
From: Thien-Thi Nguyen @ 2007-10-29 11:25 UTC (permalink / raw)
To: guile-sources; +Cc: guile-user
greetings earthlings,
just a quick note to mention that ttn-do 306 embeds mixp
(mixp wraps expat for guile). this mixp is highly modified
(bugfixes and incompatible interface changes) from the one
released by the original Author, Thierry Bézecourt, so please
don't bother him w/ bugs/complaints (send them to me).
ttn-do 306 also includes xml2sexp, a small program that
makes use of the embedded mixp. for example, below is
/usr/local/share/xcb/res.xml recast with nice parens.
much better, no?
for more info, see <http://www.gnuvola.org/software/ttn-do/>.
most likely the ttn-do mixp will evolve a bit as i play and
learn, then settle down more than a bit as i age and die.
thi
________________________________________________________
((comment
"\nCopyright (C) 2006 Jeremy Kolb\n(((snip --ttn)))\n")
xcb
((header . "res")
(extension-xname . "X-Resource")
(extension-name . "Res")
(major-version . "1")
(minor-version . "0"))
(struct
((name . "Client"))
(field ((type . "CARD32") (name . "resource_base")))
(field ((type . "CARD32") (name . "resource_mask"))))
(struct
((name . "Type"))
(field ((type . "CARD32") (name . "resource_type")))
(field ((type . "CARD32") (name . "count"))))
(request
((name . "QueryVersion") (opcode . "0"))
(field ((type . "CARD8") (name . "client_major")))
(field ((type . "CARD8") (name . "client_minor")))
(reply ()
(pad ((bytes . "1")))
(field ((type . "CARD16") (name . "server_major")))
(field ((type . "CARD16") (name . "server_minor")))))
(request
((name . "QueryClients") (opcode . "1"))
(reply ()
(pad ((bytes . "1")))
(field ((type . "CARD32") (name . "num_clients")))
(pad ((bytes . "20")))
(list ((type . "Client") (name . "clients"))
(fieldref () "num_clients"))))
(request
((name . "QueryClientResources") (opcode . "2"))
(field ((type . "CARD32") (name . "xid")))
(reply ()
(pad ((bytes . "1")))
(field ((type . "CARD32") (name . "num_types")))
(pad ((bytes . "20")))
(list ((type . "Type") (name . "types"))
(fieldref () "num_types"))))
(request
((name . "QueryClientPixmapBytes")
(opcode . "3"))
(field ((type . "CARD32") (name . "xid")))
(reply ()
(pad ((bytes . "1")))
(field ((type . "CARD32") (name . "bytes")))
(field ((type . "CARD32") (name . "bytes_overflow"))))))
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-10-29 11:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-29 11:25 fyi, refined mixp in ttn-do Thien-Thi Nguyen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).