Skip to content

Commit

Permalink
Merge pull request #831 from inkle/revert-830-patch-1
Browse files Browse the repository at this point in the history
Revert "Typo in ArchitectureAndDevOverview.md"
  • Loading branch information
joethephish committed Mar 24, 2023
2 parents 09ddb67 + 570f6f7 commit 461e8d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/ArchitectureAndDevOverview.md
Expand Up @@ -14,7 +14,7 @@ The following is a fairly brief tour of these 3 stages, hopefully enough to give

The parser takes a root ink file (which may reference other ink files), and constructs a hierarchy of `Parsed.Object` objects that closely resemble the structure within the original ink files, as closely as possible to how it was written.

The parser is a hand-written recursive descent parser that inherits from `StringParser`, which allows a hierarchy of parse rules to be built using C# delegates. At the top level, `InkParser.cs` contains a method called `Parse()`, which returns a `Parsed.Story` object.
The parser is a hand-written recursive decent parser that inherits from `StringParser`, which allows a hierarchy of parse rules to be built using C# delegates. At the top level, `InkParser.cs` contains a method called `Parse()`, which returns a `Parsed.Story` object.

Within `Parse()`, rules evaluated, each of which may contain more rules. Rules are simply methods that return the result of parsing or `null` if parsing failed (though there are exceptions to this).

Expand Down

0 comments on commit 461e8d9

Please sign in to comment.