Re: ASN.1 Specification
Thanks All,
Your points are well taken. But I beg another moment's indulgence...
IMPORTS A, B, C FROM ModuleA foobar , -- this comma makes foobar
d, e, f FROM ModuleB; -- part of SymbolList
-- vs
IMPORT A, B, C FROM ModuleA foobar -- more appealing to the eye?
IMPORT d, e, f FROM ModuleB;
This could be achieved without breaking any existing specifications...
ModuleBody ::=
Exports Imports AssignmentList |
Exports ImportList AssignmentList | -- new
empty
ImportList ::=
ToeJamFootball ";" |
empty
ToeJamFootball ::=
ImportStmt |
ImportList ImportStmt
ImportStmt ::=
IMPORT SymbolList FROM GlobalModuleReference
which, of course, is LR(1) and can be parsed by any college sophomore.
It essentially unrolls SymbolFromModuleList into a list of IMPORT statements and might
be more familiar to the Internet techies.
Then, out with the old, in with the new!
Now, what about the other 99?
Regards,
Patrick Henry
Find the best deals on the web at AltaVista Shopping!
http://www.shopping.altavista.com