From f0cc9dd2d855b2abc9b1961fe1789e77925b3379 Mon Sep 17 00:00:00 2001 From: Nicolas Abril Date: Wed, 15 May 2024 12:40:10 +0200 Subject: [PATCH] [sc-684] Update dictionary for guide.md --- GUIDE.md | 6 +++--- cspell.json | 9 +++++++-- src/imp/parser.rs | 2 +- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/GUIDE.md b/GUIDE.md index c6405780..6cec23fd 100644 --- a/GUIDE.md +++ b/GUIDE.md @@ -325,7 +325,7 @@ be turned into a tree! The `bend` is the opposite of the `fold`: instead of consuming something, it creates something. The way it works is, in some ways, similar to a while loop, -but, admitedly, a little bit more bureaucratic, in 3 ways: +but, admittedly, a little bit more bureaucratic, in 3 ways: 1. You must explicit an initial state. @@ -376,7 +376,7 @@ itself, forming a tree of descendants. In the end, you have a complete tree! The second way to explain is for the devs offended by this ultra simplified example: yes, `bend` is just a syntax-sugar for creating a recursive function, -immediatelly calling it, and assigning the result to a variable. In other words, +immediately calling it, and assigning the result to a variable. In other words, the program above is equivalent to: ```python @@ -504,4 +504,4 @@ Benchmarks: ## ... -TODO: conver IO and so many other aspects :') +TODO: cover IO and so many other aspects :') diff --git a/cspell.json b/cspell.json index 019b195f..235d09b1 100644 --- a/cspell.json +++ b/cspell.json @@ -9,6 +9,7 @@ "arity", "behaviour", "bitand", + "Bitonic", "builtins", "callcc", "chumsky", @@ -24,6 +25,7 @@ "destructures", "desugared", "desugars", + "devs", "dref", "dups", "effectful", @@ -58,6 +60,7 @@ "nullary", "numop", "nums", + "OOM's", "oper", "opre", "oprune", @@ -67,6 +70,7 @@ "postcondition", "powi", "prec", + "quadtree", "readback", "recursively", "redex", @@ -111,6 +115,7 @@ "/`.`/g", "/`..`/g", "/`...`/g", - "/`....`/g" + "/`....`/g", + "/```.*\n.*\n```/g" ] -} \ No newline at end of file +} diff --git a/src/imp/parser.rs b/src/imp/parser.rs index 26ab4dd7..51a3ce65 100644 --- a/src/imp/parser.rs +++ b/src/imp/parser.rs @@ -84,7 +84,7 @@ impl<'a> PyParser<'a> { Expr::Tup { els } } else { self.consume(")")?; - // A parenthesised expression + // A parenthesized expression head } }