Commit 12aa5df
authored
docs(spec): allow optional numeric suffix in Name grammar (#7396)
Update the Plutus Core specification to reflect that names can include an optional numeric suffix after a dash, consisting of one or more digits. This resolves the discrepancy between the specification and the parser implementation, which already supports patterns like name-42 for representing unique name indexes.
The grammar now permits names such as x-0, name-42, and variable-12345, enabling disambiguation of variables that share the same base name. This change is purely documentation-focused and does not affect any implementation code.1 parent 8444bd0 commit 12aa5df
File tree
2 files changed
+11
-1
lines changed- doc/plutus-core-spec
- plutus-core/changelog.d
2 files changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
175 | 182 | | |
176 | 183 | | |
177 | 184 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
0 commit comments