ETSI's Bug Tracker |
Anonymous | Login | Signup for local Mantis account | 30-04-2024 15:37 IST |
Main | My View | View Issues | Change Log | Roadmap | Monitor project |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0008193 | Part 01: TTCN-3 Core Language | Technical | public | 19-01-2023 10:15 | 05-09-2023 10:24 | ||||||||
Reporter | Matthias Simon | ||||||||||||
Assigned To | Jens Grabowski | ||||||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||||||
Status | assigned | Resolution | open | ||||||||||
Platform | OS | OS Version | |||||||||||
Product Version | |||||||||||||
Target Version | Fixed in Version | ||||||||||||
Summary | 0008193: Redefine keywords and reserved words | ||||||||||||
Description | An explicit distinction between keywords and reserved words is a prerequisite for moving language parts, such as predefined functions, matching-mechanism or timers to some kind of predefined standard library. It would also simplify BNF rules. Where's the difference? A _reserved word_ is an identifier which cannot be used as a name for user-defined variables, functions, parameters, etc. For example the identifiers "int2str", "integer", "this" or "object" are reserved words and have not special syntactic meaning except for being predefined or reserved. In some scopes reserved words are allowed to be used by the user (for example as name in field-definitions). A _keyword_ is a word with special meaning in a particular context. Keywords should not be used as identifiers (for example "for", "while", ...). There are some few exceptions however ("testcase", "class", "all", "any", ...): testcase.stop; // "testcase" is used as identifier referencing the current testcase testcase TC1() {} // "testcase" is a keyword introducing a testcase definition | ||||||||||||
Tags | No tags attached. | ||||||||||||
Clause Reference(s) | n/a | ||||||||||||
Source (company - Author) | Nokia - Matthias Simon | ||||||||||||
Attached Files | |||||||||||||
Notes | |
(0016519) Jens Grabowski (manager) 05-09-2023 10:22 |
TTF discussion: To be discussed in the context of the next major release. |
Issue History | |||
Date Modified | Username | Field | Change |
19-01-2023 10:15 | Matthias Simon | New Issue | |
05-09-2023 10:22 | Jens Grabowski | Note Added: 0016519 | |
05-09-2023 10:24 | Jens Grabowski | Assigned To | => Jens Grabowski |
05-09-2023 10:24 | Jens Grabowski | Status | new => assigned |
MantisBT 1.2.14 [^] Copyright © 2000 - 2024 MantisBT Team |