ETSI's Bug Tracker - TTCN-3 Change Requests
View Issue Details

ID | Project | Category | View Status | Date Submitted | Last Update
0008102 | TTCN-3 Change Requests | Technical | public | 09-08-2022 15:01 | 16-12-2024 10:11

Reporter | Matthias Simon |
Assigned To | Jens Grabowski |
Priority | normal | Severity | minor | Reproducibility | have not tried
Status | resolved | Resolution | fixed |
Platform |  | OS |  | OS Version |
Clause Reference(s) | A.1.2 -- Statement terminator symbols
For STF discussion |
Source (company - Author) | Nokia - Matthias Simon

Summary | 0008102: Optional semicolon
Description | Current semicolon rules are context sensitive and are impossible to be defined properly in grammars without not-predicates/look-ahead (yacc, Bison, ...). I propose to make the semicolon optional. Open question: How could we handle conflicts such as: alt { var integer a[x] [y] p.receive }
Steps To Reproduce |
Additional Information |
Tags | No tags attached.
Relationships |
Attached Files |

Issue History
Date Modified | Username | Field | Change
09-08-2022 15:01 | Matthias Simon | New Issue |
16-08-2022 09:30 | Jens Grabowski | Note Added: 0016213 |
16-08-2022 09:31 | Jens Grabowski | Assigned To | => Jens Grabowski
16-08-2022 09:31 | Jens Grabowski | Status | new => assigned
10-11-2022 10:23 | Jens Grabowski | Note Added: 0016288 |
10-11-2022 10:23 | Jens Grabowski | Assigned To | Jens Grabowski => Axel Rennoch
10-11-2022 11:01 | Axel Rennoch | Note Added: 0016292 |
10-11-2022 11:02 | Axel Rennoch | Assigned To | Axel Rennoch => Matthias Simon
10-11-2022 13:12 | Jens Grabowski | Note Added: 0016297 |
10-11-2022 13:13 | Jens Grabowski | Status | assigned => closed
10-11-2022 13:13 | Jens Grabowski | Resolution | open => fixed
26-01-2024 16:32 | Olivier Genoud | Note Added: 0016616 |
11-12-2024 09:14 | Jens Grabowski | Note Added: 0016716 |
16-12-2024 10:11 | Jens Grabowski | Assigned To | Matthias Simon => Jens Grabowski
16-12-2024 10:11 | Jens Grabowski | Status | closed => resolved

Notes

(0016213)
Jens Grabowski
16-08-2022 09:30

TTF Discussion: Benefits unclear, tools are differently implemented.

(0016288)
Jens Grabowski
10-11-2022 10:23

Axel, can you have a look?

(0016292)
Axel Rennoch
10-11-2022 11:01

From the user perspective the semicolon supports readability and avoids unnecessary conflicts or misunderstanding. TTCN-3 is still a specification language and not only for implementation/programming. In certain cases the semicolon might be avoided and become optional and specified in A.1.2. These explicit cases should be proposed and checked.

(0016297)
Jens Grabowski
10-11-2022 13:12

TTF discussion: CR cannot be implemented at the moment. TTF agrees that semicolons support readability and understandability of the language.

(0016616)
Olivier Genoud
26-01-2024 16:32

In general, we(TF160) like the strict use of semicolons not at least as it may help tools to do automatic indentation. In addition, there seems to be no real benefit from a user's point of view to allow semicolons to be optional.

(0016716)
Jens Grabowski
11-12-2024 09:14

To be continued in Gitlab