diff options
author | Patrick Walters <patrickwaltersc21@yahoo.com> | 2017-07-05 12:46:07 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-05 12:46:07 +0800 |
commit | b166228a39747a170a2c950b85eb7f712c8852e2 (patch) | |
tree | ed0c86b8ed5c4241fbdb98756153700fac560e15 /docs/contributing.rst | |
parent | 90ada403dd1df7f3773e77d294c8800c0029a1ed (diff) | |
download | dexon-solidity-b166228a39747a170a2c950b85eb7f712c8852e2.tar dexon-solidity-b166228a39747a170a2c950b85eb7f712c8852e2.tar.gz dexon-solidity-b166228a39747a170a2c950b85eb7f712c8852e2.tar.bz2 dexon-solidity-b166228a39747a170a2c950b85eb7f712c8852e2.tar.lz dexon-solidity-b166228a39747a170a2c950b85eb7f712c8852e2.tar.xz dexon-solidity-b166228a39747a170a2c950b85eb7f712c8852e2.tar.zst dexon-solidity-b166228a39747a170a2c950b85eb7f712c8852e2.zip |
Update contributing.rst
Diffstat (limited to 'docs/contributing.rst')
-rw-r--r-- | docs/contributing.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/contributing.rst b/docs/contributing.rst index 559f9f6a..9d1b2ce3 100644 --- a/docs/contributing.rst +++ b/docs/contributing.rst @@ -78,10 +78,10 @@ Alternatively, there is a testing script at ``scripts/test.sh`` which executes a Whiskers ======== -*Whiskers* is a templating system similar to `Moustache <https://mustache.github.io>`_. It is used by the +*Whiskers* is a templating system similar to `Mustache <https://mustache.github.io>`_. It is used by the compiler in various places to aid readability, and thus maintainability and verifiability, of the code. -The syntax comes with a substantial difference to Moustache: the template markers ``{{`` and ``}}`` are +The syntax comes with a substantial difference to Mustache: the template markers ``{{`` and ``}}`` are replaced by ``<`` and ``>`` in order to aid parsing and avoid conflicts with :ref:`inline-assembly` (The symbols ``<`` and ``>`` are invalid in inline assembly, while ``{`` and ``}`` are used to delimit blocks). Another limitation is that lists are only resolved one depth and they will not recurse. This may change in the future. @@ -91,5 +91,5 @@ A rough specification is the following: Any occurrence of ``<name>`` is replaced by the string-value of the supplied variable ``name`` without any escaping and without iterated replacements. An area can be delimited by ``<#name>...</name>``. It is replaced by as many concatenations of its contents as there were sets of variables supplied to the template system, -each time replacing any ``<inner>`` items by their respective value. Top-level variales can also be used -inside such areas.
\ No newline at end of file +each time replacing any ``<inner>`` items by their respective value. Top-level variables can also be used +inside such areas. |