Hallo Martin,

Du schriebst am Tue, 12 Nov 2013 08:33:29 +0100:

> The C-like syntax
> "
>  FIELDNAME ':' FIELDTYPE [':' BITSIZE] ';'
> "
> is accepted?

It's much more broadly used than just with C. In fact, C seems to have it
adopted only recently. You might use alternate delimiters, though.

> Is a record with BITSIZE automatically bitpacked? Is

It depends on the implementation. If more people than just the implementor
are to use it, it just needs to be documented.

> "
> 'type'
>  TYPENAME '=' RANGEMIN '..' RANGEMAX [':' BITSIZE] ';'
> "
This might be seen as an "on the fly" type definition.

> accepted too? Defining of little/big-endian could be useful too.

As said above, that depends on the implementation or rather the likings of
the implementor. If more people than just the implementor are to use it, it
just needs to be documented. After all, endiandness issues are notoriously
tricky, even fallacious.

-- 
-- 
(Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung
nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem)
-----------------------------------------------------------
Mit freundlichen Grüßen, S. Schicktanz
-----------------------------------------------------------



------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to