Thread (3 messages) flat view 3 messages, 3 authors, 2007-11-09

DTS Bytestrings Representation in /dts-v1/ files

From: Jon Loeliger <hidden>
Date: 2007-11-08 19:18:55

Folks,

When the new DTS /dts-v1/ support is released Real Soon Now,
it will support C-like literal constants.  Hex values will be
prefixed with 0x, binary with 0b, and bare numbers will be
decimal unless they start with a leading 0.

One outstanding question on which I'd like some feedback
is the issue of bytestring value representation.

Currently they look like this:

    stuff = [ 0b 31 22 de ea ad be ef ];

One opinion is to have them continue to look like that
and be in hex only.

Another opinion is to allow the new, consistent  C-style
literals and expressions so that one could have:

    new_stuff = [ 0x31 49 '1' 23 17 ];

Opinions?

Thanks,
jdl
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help