[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Q: list template?
From: |
Heiko Nardmann |
Subject: |
Q: list template? |
Date: |
Fri, 8 Nov 2002 10:28:22 +0100 |
User-agent: |
KMail/1.4.3 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Does bison already provide some more comfortable way to express lists?
E.g. instead of
MyList: /* empty */ | Element MyList ;
I would like to write (in C++ alike syntax)
MyList: list<Element> ;
Separators between elements should be specifiable, too.
Or maybe something like DTD provides:
MyList: (Element)* ;
Or:
OptionalElement: (Element)?
- --
Heiko Nardmann (Dipl.-Ing.), address@hidden, Software Development
secunet Security Networks AG - Sicherheit in Netzwerken (www.secunet.de),
Weidenauer Str. 223-225, D-57076 Siegen
Tel. : +49 271 48950-13, Fax : +49 271 48950-50
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iEYEARECAAYFAj3Lg74ACgkQpm53PRScYyikIgCcD7QRfuXWboze6G7NA5Xw/qTk
qrsAoK3cb/t7IJR6EX2nISQyzKS7KsSK
=jtNo
-----END PGP SIGNATURE-----
- Q: list template?,
Heiko Nardmann <=