diff options
| author | Thalia Archibald <thalia@archibald.dev> | 2024-06-21 06:13:09 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-21 14:13:09 +0100 |
| commit | e5f4f7b85fbb91a293a7d89d7b85adfbaeeb51f4 (patch) | |
| tree | 9b6ecc7ef37b1ec7f08efed6f908f478dc551e03 /chapter02/README.md | |
| parent | a749c244bea3e2774d453165cbd18ed52863a8f5 (diff) | |
| download | Simple-e5f4f7b85fbb91a293a7d89d7b85adfbaeeb51f4.tar.gz Simple-e5f4f7b85fbb91a293a7d89d7b85adfbaeeb51f4.zip | |
Format whitespace (#86)
* Trim trailing whitespace
* Ensure final new lines
* Convert line endings from CRLF to LF
* Replace tabs with spaces
Diffstat (limited to 'chapter02/README.md')
| -rw-r--r-- | chapter02/README.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chapter02/README.md b/chapter02/README.md index b5cb5dce..4b912465 100644 --- a/chapter02/README.md +++ b/chapter02/README.md @@ -7,7 +7,7 @@ multiplication, division, and unary minus. This allows us to write statements su return 1 + 2 * 3 + -5; ``` -Here is the [complete language grammar](docs/02-grammar.md) for this chapter. +Here is the [complete language grammar](docs/02-grammar.md) for this chapter. ## Extensions to Intermediate Representation @@ -96,7 +96,7 @@ structure: Our lattice elements can be one of three types: * The highest element is "top", denoted by T; assigning T means that the Node's value may or may not be a compile time constant. -* All elements in the middle are constants. +* All elements in the middle are constants. * The lowest is "bottom", denoted by ⊥; assigning ⊥ means that we know that the Node's value is **not** a compile time constant. An invariant of peephole optimizations is that the type of a Node always moves down the lattice. @@ -121,4 +121,4 @@ The following visual shows how the graph looks like pre-peephole optimization: ## Post-peephole -
\ No newline at end of file + |
