diff options
-rw-r--r-- | eurml.mli | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -5,10 +5,21 @@ | |||
5 | 5 | ||
6 | open Common | 6 | open Common |
7 | 7 | ||
8 | (* Strips out comments and rewrite/enumerate labels *) | ||
8 | val compile_preprocess : eurmcmd list -> eurmcmd list | 9 | val compile_preprocess : eurmcmd list -> eurmcmd list |
10 | |||
11 | (* Rewrites Dec, GEqPredicate, LEqPredicate, LTPredicate, Mult and ZeroPredicate *) | ||
9 | val compile_stage1 : eurmcmd list -> state -> eurmcmd list * state | 12 | val compile_stage1 : eurmcmd list -> state -> eurmcmd list * state |
13 | |||
14 | (* Rewrites Add, GTPredicate and Sub *) | ||
10 | val compile_stage2 : eurmcmd list -> state -> eurmcmd list * state | 15 | val compile_stage2 : eurmcmd list -> state -> eurmcmd list * state |
16 | |||
17 | (* Rewrites Goto *) | ||
11 | val compile_stage3 : eurmcmd list -> state -> eurmcmd list * state | 18 | val compile_stage3 : eurmcmd list -> state -> eurmcmd list * state |
19 | |||
20 | (* Rewrites Inc, EqPredicate, Label and Zero *) | ||
12 | val compile_stage4 : eurmcmd list -> state -> urmcmd list * state | 21 | val compile_stage4 : eurmcmd list -> state -> urmcmd list * state |
22 | |||
23 | (* Transcompiles an EURM instruction sequence into URM *) | ||
13 | val urm_from_eurm : eurmcmd list -> urmcmd list | 24 | val urm_from_eurm : eurmcmd list -> urmcmd list |
14 | 25 | ||