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
1111
1212## FAQ
1313
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 ] .
1720
1821** Where does the name come from?** ` chalk ` is named after [ Chalkidiki] , the area where [ Aristotle] was
1922born. Since Prolog is a logic programming language, this seemed a
@@ -22,6 +25,7 @@ suitable reference.
2225[ Prolog ] : https://en.wikipedia.org/wiki/Prolog
2326[ Chalkidiki ] : https://en.wikipedia.org/wiki/Chalkidiki
2427[ 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
2529
2630## Blog posts
2731[ blog-posts ] : #blog-posts
You can’t perform that action at this time.
0 commit comments