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/docs | |
| 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/docs')
| -rw-r--r-- | chapter02/docs/02-grammar.md | 10 | ||||
| -rw-r--r-- | chapter02/docs/02-lattice.gv | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/chapter02/docs/02-grammar.md b/chapter02/docs/02-grammar.md index 1a1e1239..ce875eda 100644 --- a/chapter02/docs/02-grammar.md +++ b/chapter02/docs/02-grammar.md @@ -14,11 +14,11 @@ statement expression : additiveExpression ; - + additiveExpression - : multiplicativeExpression (('+' | '-') multiplicativeExpression)* + : multiplicativeExpression (('+' | '-') multiplicativeExpression)* ; - + multiplicativeExpression : unaryExpression (('*' | '/') unaryExpression)* ; @@ -36,5 +36,5 @@ primaryExpression INTEGER_LITERAL : [1-9][0-9]* | [0] - ; -```
\ No newline at end of file + ; +``` diff --git a/chapter02/docs/02-lattice.gv b/chapter02/docs/02-lattice.gv index 57f14d77..4faa0e11 100644 --- a/chapter02/docs/02-lattice.gv +++ b/chapter02/docs/02-lattice.gv @@ -3,7 +3,7 @@ digraph Lattice { node [shape=circle, style=filled, fillcolor=lightblue]; Top [label="⊤"]; Bottom [label="⊥"]; - + A [label="MIN_INT"]; B [label="..." shape=none style=none]; C [label="-1"]; |
