From 7aa81c36c31d351c8add34d95f573b7c3d5ec4cf Mon Sep 17 00:00:00 2001 From: Richard Parsons Date: Sun, 17 Dec 2017 21:19:37 +0000 Subject: [PATCH] corrected typo --- brag/brag/brag.scrbl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/brag/brag/brag.scrbl b/brag/brag/brag.scrbl index 75c16ef..e0db8cf 100755 --- a/brag/brag/brag.scrbl +++ b/brag/brag/brag.scrbl @@ -254,7 +254,7 @@ Let's try this function: A @emph{token} is the smallest meaningful element of a source program. Tokens can be strings, symbols, or instances of the @racket[token] data structure. (Plus a few other special cases, which we'll discuss later.) Usually, a token holds a single character from the source program. But sometimes it makes sense to package a sequence of characters into a single token, if the sequence has an indivisible meaning. -If possible, we also want to attach source location information to each token. Why? Because this informatino will be incorporated into the syntax objects produced by @racket[parse]. +If possible, we also want to attach source location information to each token. Why? Because this information will be incorporated into the syntax objects produced by @racket[parse]. A parser often works in conjunction with a helper function called a @emph{lexer} that converts the raw code of the source program into tokens. The @racketmodname[br-parser-tools/lex] library can help us write a position-sensitive tokenizer: