OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Subject: Re: DOCBOOK: Offtopic: EBNF equivelant for describing bitstreams

On Thursday 12 December 2002 20:44, Jirka Kosek wrote:
> EBNF is not tied to any particular representation of underlying language
> (characters, bits, ...). If I remember it correctly from school years
> you can describe any context free grammar with EBNF. So if structure of
> your binary format can be described by context free grammar, you can use

You have a point; a fairly good one. It might be valid to do something
like the following in EBNF:
	MyTwoBitBitstreamBlock ::= SingleBit SingleBit
	SingleBit ::= true | false
        false ::= 0
        true ::= 1
Thanks for your comment! It enhanced my understanding of EBNF limits.

 - Rowan van der Molen

Humbly they tried
Their faces fried
Burned by sunshine
Doing just fine

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Powered by eList eXpress LLC