parsing prefix version (binary operators) of msph
This commit is contained in:
parent
7e5f080282
commit
17be15d7b5
12 changed files with 617 additions and 92 deletions
4
example/ex1.msph
Normal file
4
example/ex1.msph
Normal file
|
@ -0,0 +1,4 @@
|
|||
|
||||
nominal C
|
||||
|
||||
|
1
example/ex2.msph
Normal file
1
example/ex2.msph
Normal file
|
@ -0,0 +1 @@
|
|||
type A = & C D
|
13
example/ex3.msph
Normal file
13
example/ex3.msph
Normal file
|
@ -0,0 +1,13 @@
|
|||
|
||||
type X = & C (| D E)
|
||||
|
||||
type Y = {
|
||||
member x : X
|
||||
type Z = & X {
|
||||
type T = C
|
||||
assert C <: D
|
||||
}
|
||||
member r : (box forall S. (=> S Y))
|
||||
member s : C[X, Y, z]
|
||||
member f : -> A B
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue