Create new 'branch' for part 6 of compiler series

This commit is contained in:
2019-10-01 11:05:21 -07:00
parent b065d95804
commit ef86d60bda
19 changed files with 867 additions and 0 deletions

7
06/examples/works3.txt Normal file
View File

@@ -0,0 +1,7 @@
data List = { Nil, Cons Int List }
defn length l = {
case l of {
Nil -> { 0 }
Cons x xs -> { 1 + length xs }
}
}