-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make programs testable via semantic rules
- Loading branch information
1 parent
a307368
commit 89ca907
Showing
3 changed files
with
27 additions
and
19 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
(** A module representation for Rio program forms. *) | ||
module Program = struct | ||
type clss = string | ||
type set = Class of clss | Union of set list | ||
|
||
type stream = | ||
(* Set To Stream *) | ||
| Fifo of set | ||
| EarliestDeadline of set | ||
| ShortestJobNext of set | ||
(* Stream To Stream *) | ||
| RoundRobin of stream list | ||
| Strict of stream list | ||
| WeightedFair of stream list * int list | ||
|
||
type prog = stream (* Exportable type *) | ||
end |
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
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