Last change
on this file since 2844 was
1633,
checked in by campbell, 9 years ago
|
Update Cminor pretty printer and examples.
|
File size:
470 bytes
|
Line | |
---|
1 | include "Cminor/test/null-op.Cminor.ma". |
---|
2 | |
---|
3 | example exec: finishes_with (repr I32 1) ? (exec_up_to Cminor_fullexec myprog 1000 [ ]). |
---|
4 | normalize (* you can examine the result here *) |
---|
5 | @refl |
---|
6 | qed. |
---|
7 | |
---|
8 | include "Cminor/toRTLabs.ma". |
---|
9 | include "RTLabs/semantics.ma". |
---|
10 | |
---|
11 | example execRTL: finishes_with (repr 1) ? |
---|
12 | (bind ? (snapshot state) (cminor_to_rtlabs myprog) |
---|
13 | (λmyprog'. exec_up_to RTLabs_fullexec myprog' 1000 [ ])). |
---|
14 | normalize (* you can examine the result here *) |
---|
15 | @refl |
---|
16 | qed. |
---|
17 | |
---|
Note: See
TracBrowser
for help on using the repository browser.