Skip to content

Commit 2c353c9

Browse files
committed
Added more accurate explanation for stages
1 parent e239fc9 commit 2c353c9

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/main/scala/plus/meow/MeowRust/Main.scala

+6-4
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@ import com.codecommit.gll.Success
1212
* - Parser
1313
* - Disambiguation
1414
* - For example, compare operators requires parentheses to specify associativity
15-
* - Type-check - 1
16-
* - Disugar
17-
* - Type-check - 2
18-
* - Codegen
15+
* - Codegen: Derive(...)
16+
* - Register: types, impls...
17+
* - Resolve + Type-check - 1: Generate types for each expression. This also involves picking the most accurate trait impl
18+
* - Disugar: Question marks, etc.
19+
* - Type-check - 2: Checks if subtyping/conversion works. Insert implicit conversions
20+
* - Target generation: Dump LLVM IR
1921
*/
2022

2123

0 commit comments

Comments
 (0)