X-Git-Url: http://svarog.pmf.uns.ac.rs/gitweb/?p=mjc2wsl.git;a=blobdiff_plain;f=samples%2Fchrtest.wsl;fp=samples%2Fchrtest.wsl;h=0000000000000000000000000000000000000000;hp=13a7395de8153b82d87535706d7e14cc8e9f2561;hb=20e89303d3be00efa582f18a16a4fdfe2c9f2f1d;hpb=6f87918bbd5bbbd1f2a7c641acd210058cbf3cf1 diff --git a/samples/chrtest.wsl b/samples/chrtest.wsl deleted file mode 100644 index 13a7395..0000000 --- a/samples/chrtest.wsl +++ /dev/null @@ -1,36 +0,0 @@ -C:" This file automatically converted from microjava bytecode"; -C:" with mjc2wsl v 0.1"; -VAR < tempa := 0, tempb := 0, tempres :=0, - stack := < >, t_e_m_p := 0 > : - -C:"#51"; -C:" enter"; -C:"#22"; -stack := <10 > ++ stack; -C:"#22"; -stack := <15 > ++ stack; -C:"#56"; -tempa := HEAD(stack); stack := TAIL(stack); -PRINT(tempa); -C:"#22"; -stack := <97 > ++ stack; -C:"#20"; -stack := <5 > ++ stack; -C:"#54"; -tempa := HEAD(stack); stack := TAIL(stack); -PRINT(tempa); -C:"#15"; -stack := <0 > ++ stack; -C:"#38"; -C:"!unknown op error: 38"; -C:"#15"; -stack := <0 > ++ stack; -C:"#54"; -tempa := HEAD(stack); stack := TAIL(stack); -PRINT(tempa); -C:"#52"; -C:"!unknown op error: 52"; -C:"#50"; -C:"!unknown op error: 50"; -SKIP -ENDVAR