diff options
author | Colin Okay <cbeok@protonmail.com> | 2020-04-25 20:41:45 -0500 |
---|---|---|
committer | Colin Okay <cbeok@protonmail.com> | 2020-04-25 20:41:45 -0500 |
commit | f686f4a271d7486cedf274996f879a695d5c7de7 (patch) | |
tree | 54d61e7afc1d918fd709f26277b6e41b4020ed81 | |
parent | ca4c0a36c0aba93a64bebe66917b63b5290c8951 (diff) |
phrasing
-rw-r--r-- | examples/Tutorial.org | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/Tutorial.org b/examples/Tutorial.org index 4a94567..b1cf9d5 100644 --- a/examples/Tutorial.org +++ b/examples/Tutorial.org @@ -47,8 +47,8 @@ Some of the terms used to talk about parsing can be perhaps confused or conflated with terms used to talk about - functions. This is especially so since, in =parzival=, a parser - *is* actually just a function. + functions. This is especially the case in =parzival= because a + parser *is* just a function. When parsing an input stream, the parser is said to "accept" the input when the parse "succeeds" with a "result". Otherwise the @@ -56,12 +56,12 @@ I.e. On the one hand, you may be said to *call* a *function* with *arguments* so that it *returns* a value. On the other hand, a - *parser* will *accept* input and *result* in a value or it will + *parser* will *accept* *input* and either *result* in a value or *fail*. It may seem like nitpicking, but these terms are used frequently in =parzival='s documentation and in this tutorial. It is my hope - that explicitly mentioning the terms here will make the tutorial + that explicit mention of the terms here will make the tutorial easier to read and understand. *** Naming Conventions |