(cherry picked from commit 9ab1a86b5b)
This commit is contained in:
Juan Carlos
2020-11-14 15:43:31 -03:00
committed by narimiran
parent 2bfabfde49
commit 6cc39b5a57

View File

@@ -317,8 +317,9 @@ Stropping
---------
`Stropping <https://en.wikipedia.org/wiki/Stropping_(syntax)>`_
allows the same letter sequence to be used both as a keyword and as an identifier,
this simplifies parsing and FFI with languages where that identifier is not a reserved keyword.
allows the same letter sequence to be used both as a keyword and as an identifier, this simplifies parsing and
`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`.
In Nim, this is achieved via backticks, allowing any reserved word to be used as an identifier.