]> Joshua Wise's Git repositories - snipe.git/blame_incremental - top/flags.sml
Un-size trans
[snipe.git] / top / flags.sml
... / ...
CommitLineData
1signature FLAGS =
2sig
3 val verbose : Flag.flag
4 val liveness : Flag.flag
5 val ast : Flag.flag
6 val ir : Flag.flag
7 val assem : Flag.flag
8 val color : Flag.flag
9 val safe : Flag.flag
10
11 val reset : unit -> unit (* Anus... *)
12end
13
14structure Flags :> FLAGS =
15struct
16 val verbose = Flag.flag "verbose"
17 val liveness = Flag.flag "liveness"
18 val ast = Flag.flag "ast"
19 val ir = Flag.flag "ir"
20 val assem = Flag.flag "assem"
21 val color = Flag.flag "color"
22 val safe = Flag.flag "safe"
23
24 fun reset () =
25 (List.app Flag.unset [verbose, ast,
26 ir, assem, liveness, safe])
27end
28
This page took 0.018197 seconds and 4 git commands to generate.