Re: Grammars, Ambiguous, ASN.1

Christian Rinderknecht <Christian.Rinderknecht@int-evry.fr>
1 Jul 1999 15:00:55 -0400

          From comp.compilers

Related articles
Grammars, Ambiguous, ASN.1 sge@acm.org (1999-06-19)
Re: Grammars, Ambiguous, ASN.1 dmitrik@my-deja.com (Dmitri Katchalov) (1999-06-27)
Re: Grammars, Ambiguous, ASN.1 rsi@lucent.com (Rajappa Iyer) (1999-06-27)
Re: Grammars, Ambiguous, ASN.1 robin.hansen@irisa.fr (Robin Edgar Hansen) (1999-06-27)
Re: Grammars, Ambiguous, ASN.1 Christian.Rinderknecht@int-evry.fr (Christian Rinderknecht) (1999-06-29)
Re: Grammars, Ambiguous, ASN.1 Christian.Rinderknecht@int-evry.fr (Christian Rinderknecht) (1999-07-01)
Re: Grammars, Ambiguous, ASN.1 sge@acm.org (1999-07-05)
Re: Grammars, Ambiguous, ASN.1 elgey@dstc.qut.edu.au (Geoff Elgey) (1999-07-10)
| List of all articles for this month |
From: Christian Rinderknecht <Christian.Rinderknecht@int-evry.fr>
Newsgroups: comp.compilers
Date: 1 Jul 1999 15:00:55 -0400
Organization: Institut National des Télécommunications
References: 99-06-072 99-06-090
Keywords: parse, standards

Hi,


sge@acm.org (Steve Elkins) asked about ASN.1 grammar. [I lost his
original post, sorry.]


I forgot to mention in my previous reply that three technical corrigenda
must be applied to X.208, in order to remove another ambiguity (these
corrigenda are given in X.680:1994), and to be compliant of course:


AnyValue ::= Type ":" Value instead
of AnyValue ::= Type Value
ChoiceValue ::= identifier ":" Value | Value instead
of ChoiceValue ::= NamedValue
SelectionValue ::= Value
instead of SelectionValue ::= NamedValue


This avoid nasty things like:


x T ::= a b c U ::= NULL


that may have been interpreted either like


x T ::= a b c
U ::= NULL


or


x T ::= a b
c U ::= NULL


Best regards,


--


Christian


-----------------------------------------------------------------------
Christian Rinderknecht Phone +33 (0)1 60 76 44 43
Institut National des Télécommunications Fax +33 (0)1 60 76 47 11
Département Logiciels Réseaux (LOR) WWW
9, Rue Charles Fourier, F-91011 Évry Cedex


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.