Skip to content

Commit

Permalink
Merge pull request #2 from benskelton/patch-1
Browse files Browse the repository at this point in the history
Spelling in Docs
  • Loading branch information
xhliu committed Oct 23, 2019
2 parents 245203c + 3d0df69 commit bb0772a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions docs/ackermann.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ It grows very quickly in value, as does the size of its call tree. The Ackermann
\end{cases}
nCrypt has devised to way to cauculate the value of the Ackermann function using `native scripts`_. But it is definitely non-trivial. Below we present a much simpler version.
nCrypt has devised to way to calculate the value of the Ackermann function using `native scripts`_. But it is definitely non-trivial. Below we present a much simpler version.

.. code-block:: solidity
Expand Down Expand Up @@ -66,4 +66,4 @@ nCrypt has devised to way to cauculate the value of the Ackermann function using
}
.. _native scripts: https://onedrive.live.com/?authkey=%21AMkX_N43zpZknj4&cid=68E98EDCE5760610&id=68E98EDCE5760610%2181946&parId=68E98EDCE5760610%2116494&o=OneUp
.. _native scripts: https://onedrive.live.com/?authkey=%21AMkX_N43zpZknj4&cid=68E98EDCE5760610&id=68E98EDCE5760610%2181946&parId=68E98EDCE5760610%2116494&o=OneUp
4 changes: 2 additions & 2 deletions docs/functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Functions

User-Defined Functions
======================
sCrypt enables developers to define their own functions as examplified below:
sCrypt enables developers to define their own functions as exemplified below:

.. code-block:: solidity
Expand All @@ -27,7 +27,7 @@ Recursion is disallowed. A function cannot call itself in its body.

Library Functions
=================
The following functions come with sCrypt and are availabe globally.
The following functions come with sCrypt and are available globally.

Math
----
Expand Down
6 changes: 3 additions & 3 deletions docs/syntax.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Formal Specification
&\ \ \ |\ \ bytesConst \\
\end{align*}
Most of the syntax is self explantory. Syntax unique to sCrypt will be covered later.
Most of the syntax is self explanatory. Syntax unique to sCrypt will be covered later.

Line comment starts with ``//`` and block comment comes between ``/*`` and ``*/``.

Expand All @@ -53,7 +53,7 @@ Basic Types
bytes arr = 0xffee1234;
Domain-Spcecific Types
Domain-Specific Types
----------------------

To increase safety, sCrypt introduces meaningful types that help with catching semantic errors at compile time.
Expand Down Expand Up @@ -151,4 +151,4 @@ Operators

Scoping
=======
Scoping in sCrypt follows the prevailing scoping rules of C99 and Solidity.
Scoping in sCrypt follows the prevailing scoping rules of C99 and Solidity.

0 comments on commit bb0772a

Please sign in to comment.