H
HT-Lab
Guest
"Ole Nielsby" <ole.nielsby@tekare-you-spamminglogisk.dk> wrote in message
news:47305dbe$0$2097$edfadb0f@dtext02.news.tele.dk...
signature ::= [ [ type_mark { , type_mark } ] [ return type_mark ] ]
The outermost [ ] are part of the syntax and do not represent an optional
item.
Hans
www.ht-lab.com
news:47305dbe$0$2097$edfadb0f@dtext02.news.tele.dk...
[] brackets are used in signatures:are mentioned but I cannot find them
in the grammar.
(I use http://www.geocities.com/purnank/vhdl93.html for now.)
signature ::= [ [ type_mark { , type_mark } ] [ return type_mark ] ]
The outermost [ ] are part of the syntax and do not represent an optional
item.
Hans
www.ht-lab.com
Searching is complicated by their use as meta symbols for optional
elements.
As far as I can tell, all []s in the grammar above are meta symbols,
though
the predefined attributes section shows their use for indexing array
attributes.
Are [] generally usable as alternatives to () or are they used in specific
places?
The coloured syntax at
http://tech-www.informatik.uni-hamburg.de/vhdl/tools/grammar/vhdl93-bnf.html
has brown keywords and symbols while metasymbols are white. But no brown
[] as far as I can see.
BTW what is the most accurate online syntax, preferably with 2001
coverage?