Skip to content

Commit 3f0d649

Browse files
committed
02_parsing: get images from img dir
1 parent 29afb29 commit 3f0d649

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/02_parsing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ author: Adam Wespiser
88

99
> *Writing a really general parser is a major but different undertaking, by far the hardest points being sensitivity to context and resolution of ambiguity.* **Graham Nelson**
1010
11-
<img src="../ways/img/WYAS-Text-To-Eval.png" style="height=auto; width:70%">
11+
<img src="./img/WYAS-Text-To-Eval.png" style="height=auto; width:70%">
1212

1313
## What is Parsing?
1414

@@ -19,7 +19,7 @@ First some definitions:
1919
* **lexer** A algorithm for lexical analysis that separates a stream of text into its component lexemes. Defines the rules for individual words, or set of allowed symbols in a programming language.
2020
* **parser** an algorithm for converting the lexemes into valid language grammar. Operates on the level above the lexer, and defines the grammatical rules.
2121

22-
<img src="../wyas/img/WYAS-Lisp-Interpreter-Steps.png" style="height:auto; width:70%">
22+
<img src="./img/WYAS-Lisp-Interpreter-Steps.png" style="height:auto; width:70%">
2323

2424
Most basically, Parsing and Lexing is the process of reading the input text of either the REPL or program and converting that into a format that can be evaluated by the interpreter.
2525
That converted format, in our case, is `LispVal`. The library we will use for parsing is called `Parsec`.

0 commit comments

Comments
 (0)