File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,12 @@ See the [Chalk book](https://rust-lang.github.io/chalk/book/) for more informati
11
11
12
12
## FAQ
13
13
14
- ** How does chalk relate to rustc?** The plan is to have rustc use the ` chalk-engine ` crate (in this repo), which defines
15
- chalk's solver. The rest of chalk can then be considered an elaborate unit testing harness. For more details, see
16
- [ this chapter of the rustc-dev-guide] ( https://rustc-dev-guide.rust-lang.org/traits/chalk.html ) .
14
+ ** How does chalk relate to rustc?** The plan is to have rustc use the
15
+ ` chalk-solve ` crate (in this repo) to answer questions about Rust programs, for
16
+ example, "Does ` Vec<u32> ` implement ` Debug ` ?". Internally, chalk converts
17
+ Rust-specific information into logic and uses a logic engine to find the answer
18
+ to the original query. For more details, see
19
+ [ this explanation in the chalk book] [ chalk-lowering-details ] .
17
20
18
21
** Where does the name come from?** ` chalk ` is named after [ Chalkidiki] , the area where [ Aristotle] was
19
22
born. Since Prolog is a logic programming language, this seemed a
@@ -22,6 +25,7 @@ suitable reference.
22
25
[ Prolog ] : https://en.wikipedia.org/wiki/Prolog
23
26
[ Chalkidiki ] : https://en.wikipedia.org/wiki/Chalkidiki
24
27
[ Aristotle ] : https://en.wikipedia.org/wiki/Aristotle
28
+ [ chalk-lowering-details ] : http://rust-lang.github.io/chalk/book/#chalk-works-by-converting-rust-goals-into-logical-inference-rules
25
29
26
30
## Blog posts
27
31
[ blog-posts ] : #blog-posts
You can’t perform that action at this time.
0 commit comments