docs: fix typos

This commit is contained in:
Leo Arias 2018-06-05 23:03:20 -06:00 committed by GitHub
parent 7422cd737d
commit ae08078cab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,13 +25,13 @@ a semantically equivalent transformation as long as it is performed after the
disambiguation stage. The reason is that moving a definition upwards cannot decrease
its visibility and it is impossible to reference variables defined in a different function.
The benefit of this stage is that function definitions can be lookup up more easily.
The benefit of this stage is that function definitions can be looked up more easily.
## Function Grouper
The function grouper has to be applied after the disambiguator and the function hoister.
Its effect is that all topmost elements that are not function definitions are moved
into a single block which is the first satement of the root block.
into a single block which is the first statement of the root block.
After this step, a program has the following normal form: