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