This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module OAM-SYNTAX | |
syntax Ints ::= List{Int,","} | |
syntax Op ::= "#parallel" Int Int | |
| "#otherwise" Int Int | |
| "#pruning" Int Int Int | |
| "#sequential" Int Int Int | |
| "#callFun" Int "[" Ints "]" | |
| "#callDynamic" Int "[" Ints "]" | |
| "#ffi" Int "[" Ints "]" | |
| "#coeffect" Int |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module OAM-SYNTAX | |
syntax Ints ::= List{Int,","} | |
syntax Op ::= "#parallel" Int Int | |
| "#otherwise" Int Int | |
| "#pruning" Int Int Int | |
| "#sequential" Int Int Int | |
| "#callFun" Int "[" Ints "]" | |
| "#callDynamic" Int "[" Ints "]" | |
| "#ffi" Int "[" Ints "]" | |
| "#coeffect" Int |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module OAM-SYNTAX | |
syntax Ints ::= List{Int,","} | |
syntax Op ::= "#parallel" Int Int | |
| "#otherwise" Int Int | |
| "#pruning" Int Int Int | |
| "#sequential" Int Int Int | |
| "#callFun" Int "[" Ints "]" | |
| "#callDynamic" Int "[" Ints "]" | |
| "#ffi" Int "[" Ints "]" | |
| "#coeffect" Int |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enum Bar { | |
One(String), | |
Two(String) | |
} | |
struct Foo { | |
bars: Vec<Bar> | |
} | |
impl Foo { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enum Bar { | |
One(String), | |
Two(String) | |
} | |
struct Foo { | |
bars: Vec<Bar> | |
} | |
impl Foo { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module OAM-SYNTAX | |
syntax Ints ::= List{Int,","} | |
syntax Op ::= "#parallel" Int Int | |
| "#otherwise" Int Int | |
| "#pruning" Int Int Int | |
| "#sequential" Int Int Int | |
| "#callFun" Int "[" Ints "]" | |
| "#callDynamic" Int "[" Ints "]" | |
| "#ffi" Int | |
| "#coeffect" Int |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module OAM-SYNTAX | |
syntax Ints ::= List{Int,","} | |
syntax Op ::= "#parallel" Int Int | |
| "#otherwise" Int Int | |
| "#pruning" Int Int Int | |
| "#sequential" Int Int Int | |
| "#callFun" Int "[" Ints "]" | |
| "#callDynamic" Int "[" Ints "]" | |
| "#ffi" Int | |
| "#coeffect" Int |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module OAM-SYNTAX | |
syntax Ints ::= List{Int,","} | |
syntax Op ::= "#parallel" Int Int | |
| "#otherwise" Int Int | |
| "#pruning" Int Int Int | |
| "#sequential" Int Int Int | |
| "#callFun" Int "[" Ints "]" | |
| "#callDynamic" Int "[" Ints "]" | |
| "#ffi" Int | |
| "#coeffect" Int |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module OAM-SYNTAX | |
syntax Ints ::= List{Int,","} | |
syntax Op ::= "#parallel" Int Int | |
| "#otherwise" Int Int | |
| "#pruning" Int Int Int | |
| "#sequential" Int Int Int | |
| "#callFun" Int "[" Ints "]" | |
| "#callDynamic" Int "[" Ints "]" | |
| "#ffi" Int | |
| "#coeffect" Int |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 2 { | |
0: #constInt 1 | |
1: #constInt 2 | |
2: #parallel 0 1 | |
} | |
1 0 { | |
0: #constInt 1 | |
} |