Fix #15806
This commit is contained in:
parent
3cebae492e
commit
9ab1a86b5b
1 changed files with 3 additions and 2 deletions
|
|
@ -317,8 +317,9 @@ Stropping
|
||||||
---------
|
---------
|
||||||
|
|
||||||
`Stropping <https://en.wikipedia.org/wiki/Stropping_(syntax)>`_
|
`Stropping <https://en.wikipedia.org/wiki/Stropping_(syntax)>`_
|
||||||
allows the same letter sequence to be used both as a keyword and as an identifier,
|
allows the same letter sequence to be used both as a keyword and as an identifier, this simplifies parsing and
|
||||||
this simplifies parsing and FFI with languages where that identifier is not a reserved keyword.
|
`FFI <https://en.wikipedia.org/wiki/Foreign_function_interface>`_
|
||||||
|
with languages where that identifier is not a reserved keyword.
|
||||||
For example, allowing a variable named `if` without clashing with the keyword `if`.
|
For example, allowing a variable named `if` without clashing with the keyword `if`.
|
||||||
In Nim, this is achieved via backticks, allowing any reserved word to be used as an identifier.
|
In Nim, this is achieved via backticks, allowing any reserved word to be used as an identifier.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue