thank you!
I want us YACC or Antlr tools to translate the ASN.1 desciption to C data structures.
So I want some text of ASN.1 which can be the input of YACC or Antlr.


----- Original Message ----- 
From: Rick Reed TSE <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 21, 2002 10:51 PM
Subject: Re: [ASN.1] bnf of ASN.1


> QinPeng at [EMAIL PROTECTED]  wrote on 21/01/2002 04:50:
> 
> > Hi,all!
> > Where can I find the BNF description of ASN.1?
> > the BNF description of X.680 is not a gathered one.
> > 
> 
> The answer to this question depends on exactly what YOU mean by "bnf".
> 
> Unlike ASN.1, there is no single bnf standard (as far as I am aware).
> 
> The notation used for specifying the collection of sequences of items
> which form valid instances of the ASN.1 notation is defined in X.680 clause
> 5.
> 
> Whether this is "bnf" is a matter of opinion, but it should be possible to
> extract the text of the production rules from the X.680 series and
> systematically process these into other forms.
> 
> It is under discussion within ITU-T SG17 whether to define a standard for
> syntax production rules (possibly in a form that can be directly processed
> by a parser generator) to be used within SG17 standards, so that there is at
> least some consistency within (part) of ITU-T. However, even if it is agreed
> to proceed with such a standard, it would be a separate decision for each
> existing notation whether to change the production rules in the
> Recommendation(s) for the notation to this form.
> 
> --
> Rick Reed - [EMAIL PROTECTED]
> Tel:+44 1455 55 96 55 Fax:+44 1455 55 96 58 Mob.:+44 7970 50 96 50
> 
> 

Reply via email to