From 8581cf146b3816256ea8e1c4996b657b04503586 Mon Sep 17 00:00:00 2001 From: Boutade Date: Sat, 25 Apr 2020 19:35:14 -0500 Subject: spell correct --- examples/Tutorial.org | 54 +++++++++++++++++++++++++-------------------------- 1 file changed, 26 insertions(+), 28 deletions(-) diff --git a/examples/Tutorial.org b/examples/Tutorial.org index 85935a9..96dda1c 100644 --- a/examples/Tutorial.org +++ b/examples/Tutorial.org @@ -4,7 +4,7 @@ **A Gentle Introduction** This tutorial will guide you through the process of creating a - modereately sophisticated parser using [[https://github.com/cbeo/parzival][parzival]], a [[https://common-lisp.net/][Common Lisp]] + moderately sophisticated parser using [[https://github.com/cbeo/parzival][parzival]], a [[https://common-lisp.net/][Common Lisp]] library for writing stream parsers using the [[https://en.wikipedia.org/wiki/Parser_combinator]["parser combinator"]] approach. @@ -61,13 +61,13 @@ It may seem like nitpicking, but these terms are used frequently in =parzival='s documentation and in this tutorial. It is my hope - that explitily mentioning the terms here will make the tutorial - easer to read and understand. + that explicitly mentioning the terms here will make the tutorial + easier to read and understand. *** Naming Conventions The =parzival= package exports a number of tragically un-lispy - looking symbols. You'll see things like =< #+END_SRC So what is going on? The combinators =< #+END_SRC Enough palaver. Time for you to define your number parser. Looking -back at the diagram in theh JSON definition document, you see that -numbers are made up of upto four parts: a sign, a whole part, a +back at the diagram in the JSON definition document, you see that +numbers are made up of up to four parts: a sign, a whole part, a fractional part, and an exponent part. For the first three parts you are in luck because =parzival= provides = #+END_SRC -** Recrusive Parsers +** Recursive Parsers -You're in the home stretch. You've defined parsers for all fo the -primtive value types, and now only the complex types remain. And -here's where you encounter a new and intersting challenge. +You're in the home stretch. You've defined parsers for all of the +primitive value types, and now only the complex types remain. And +here's where you encounter a new and interesting challenge. Looking at the JSON document, you notice two things. @@ -682,8 +682,8 @@ So, without having defined = ** Conclusion I hope you have had a good time learning about how this parser -combinator library works. It is a convenient define parsers to -consume streams of text, spitting out values and calling functions -during the parse. +combinator library works. Go forth and parse! signing off. cbeo. @@ -772,7 +770,7 @@ cbeo. (in-package :parzival-json) (<