This commit is contained in:
Juan Carlos 2020-11-14 15:39:03 -03:00
commit 3cebae492e

View file

@ -317,7 +317,8 @@ 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, and simplifies parsing. 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.
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.