ETSI's Bug Tracker - Part 01: TTCN-3 Core Language
View Issue Details

ID | Project | Category | View Status | Date Submitted | Last Update
0005451 | Part 01: TTCN-3 Core Language | Editorial | public | 08-12-2009 17:18 | 14-12-2010 06:14

Reporter | Ina Schieferdecker |
Assigned To | Ina Schieferdecker |
Priority | normal | Severity | minor | Reproducibility | have not tried
Status | closed | Resolution | fixed |
Platform |  | OS |  | OS Version |
Product Version |  |
Target Version | v4.3.1 (published 2011-06) | Fixed in Version | v4.3.1 (published 2011-06) |
Clause Reference(s) | Annex A
Source (company - Author) |

Summary | 0005451: Potential BNF Simplification

Description

In addition to the various identifier renamings and the keyword definitions, the TTCN-3 BNF contains other kinds of non-terminals which are just translated into other single non-terminals, see e.g.
ModuleDefinitionsPart ::= ModuleDefinitionsList
This is superfluous. It was considered to ease the reading but it blows up the BNF unnecessarily: 49 of such rules exist (being almost 8% of the TTCN-3 BNF).
It is proposed to remove these rules and resolve them in favour of the right-hand-side of the renaming BNF rule.
For example:, for rule "ModuleDefinitionsPart ::= ModuleDefinitionsList" ModuleDefinitionsPart is replaced by ModuleDefinitionsList

Steps To Reproduce |
Additional Information |
Tags | No tags attached.

Relationships

related to | 0005811 | closed | Benjamin Zeiss | Correction in BNF rules for template variables

Attached Files

NonterminalRenaming.doc (47,104) 08-12-2009 17:18
http://oldforge.etsi.org/mantis/file_download.php?file_id=2297&type=bug
ttcn3-bnfs-before-simplification.zip (37,942) 02-12-2010 09:09
http://oldforge.etsi.org/mantis/file_download.php?file_id=2462&type=bug
ttcn3-bnfs-after-simplification.zip (63,274) 02-12-2010 15:06
http://oldforge.etsi.org/mantis/file_download.php?file_id=2468&type=bug
package-behaviour_types-before-simplification.bnf (3,395) 02-12-2010 15:13
http://oldforge.etsi.org/mantis/file_download.php?file_id=2469&type=bug

Issue History
Date Modified | Username | Field | Change
08-12-2009 17:18 | Ina Schieferdecker | New Issue |
08-12-2009 17:18 | Ina Schieferdecker | Status | new => assigned
08-12-2009 17:18 | Ina Schieferdecker | Assigned To | => Gyorgy Rethy
08-12-2009 17:18 | Ina Schieferdecker | File Added: NonterminalRenaming.doc |
08-12-2009 17:18 | Ina Schieferdecker | Clause Reference(s) | => Annex A
08-12-2009 17:18 | Ina Schieferdecker | Source (company - Author) | =>
08-12-2009 17:19 | Ina Schieferdecker | Project | Part 09: Using XML with TTCN-3 => Part 01: TTCN-3 Core Language
09-12-2009 14:23 | Ina Schieferdecker | Note Added: 0009121 |
09-12-2009 14:23 | Ina Schieferdecker | Target Version | => Edition 5.1.1 (not yet published)
22-03-2010 17:30 | Gyorgy Rethy | Assigned To | Gyorgy Rethy =>
22-03-2010 17:30 | Gyorgy Rethy | Status | assigned => new
23-03-2010 12:43 | Gyorgy Rethy | Assigned To | => Benjamin Zeiss
23-03-2010 12:43 | Gyorgy Rethy | Status | new => assigned
30-11-2010 14:31 | Gyorgy Rethy | Note Added: 0009849 |
30-11-2010 17:35 | Gyorgy Rethy | Relationship added | related to 0005811
02-12-2010 09:09 | Benjamin Zeiss | File Added: ttcn3-bnfs-before-simplification.zip |
02-12-2010 15:06 | Benjamin Zeiss | File Added: ttcn3-bnfs-after-simplification.zip |
02-12-2010 15:07 | Benjamin Zeiss | Note Added: 0009931 |
02-12-2010 15:13 | Benjamin Zeiss | File Added: package-behaviour_types-before-simplification.bnf |
02-12-2010 15:13 | Benjamin Zeiss | Assigned To | Benjamin Zeiss => Ina Schieferdecker
02-12-2010 15:27 | Benjamin Zeiss | Note Added: 0009932 |
14-12-2010 05:43 | Ina Schieferdecker | Note Added: 0009960 |
14-12-2010 05:44 | Ina Schieferdecker | Status | assigned => resolved
14-12-2010 05:44 | Ina Schieferdecker | Resolution | open => fixed
14-12-2010 05:44 | Ina Schieferdecker | Fixed in Version | => Edition 4.3.1 (not yet published)
14-12-2010 06:14 | Ina Schieferdecker | Status | resolved => closed

Notes

(0009121)
Ina Schieferdecker
09-12-2009 14:23

To discuss with MTS if there should be a general revision of the BNF - hence postponed to 2010.

(0009849)
Gyorgy Rethy
30-11-2010 14:31

STF discussion on 30/11/2010: Ina will give the BNF to be simplified with the tool to Benjamin this week; make the swap this week and implement final BNF changes on the simplified BNF.

(0009931)
Benjamin Zeiss
02-12-2010 15:07

Finished the simplification. Please review. Please note that the behaviour types file in the zip file "ttcn3-bnfs-before-simplification" is bogus and basically a duplicate of the configuration and deployment package. I'll attach a separate diff-able file.

(0009932)
Benjamin Zeiss
02-12-2010 15:27

Clarification: if you want to diff the behaviour types file, you should compare against the attached "package-behaviour_types-before-simplification.bnf" and not the "package-behaviour_types.bnf" in the ttcn3-bnfs-before-simplification.zip. Therefore, simply replace the file in the corresponding directory beforehand.

(0009960)
Ina Schieferdecker
14-12-2010 05:43

replaced the BNF in annex A of part 1 as proposed by Benjamin