File tree Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -11,5 +11,20 @@ Like any Rust project:
11
11
* Clone
12
12
* ` cargo test --all `
13
13
14
- <!-- TODO -->
15
- <!-- ## Structure of the repository -->
14
+ ## Layers of formality
15
+
16
+ Formality is structured into several layers. These layers are meant to also map
17
+ fairly closely onto chalk and the eventual Rust trait solver implementation.
18
+ Ideally, one should be able to map back and forth between formality and the code
19
+ with ease.
20
+
21
+ * ** formality-check** : * todo*
22
+ * ** formality-core** : * todo*
23
+ * ** formality-macros** : * todo*
24
+ * ** formality-prove** : * todo*
25
+ * ** formality-rust:** This is the "Rust declarations" layer, defining Rust
26
+ "top-level items" and their semantics. This includes crates, structs, traits,
27
+ impls, but excludes function bodies.
28
+ * ** formality-types:** This is the "types" layer, defining Rust types and
29
+ functions for equating/relating them. The representation is meant to cover
30
+ all Rust types, but is optimized for extracting their "essential properties".
You can’t perform that action at this time.
0 commit comments