File: metaParse.expected

package info (click to toggle)
maude 2.6-6
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 10,776 kB
  • ctags: 8,613
  • sloc: cpp: 87,637; sh: 3,468; ansic: 3,011; yacc: 1,414; makefile: 1,252; lex: 563
file content (78 lines) | stat: -rw-r--r-- 1,802 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
Maude> ==========================================
reduce in META-LEVEL : metaParse(fmod 'FOO is
  protecting 'FLOAT .
  sorts none .
  none
  none
  none
  none
endfm, '1.0 '+ '1.0, anyType) .
rewrites: 1
result ResultPair: {'_+_['1.0.FiniteFloat,'1.0.FiniteFloat],'Float}
==========================================
reduce in META-LEVEL : metaParse(fmod 'FOO is
  including 'RAT .
  sorts 'Foo .
  none
  none
  none
  none
endfm, '3, anyType) .
rewrites: 1
result ResultPair: {'s_^3['0.Zero],'NzNat}
==========================================
reduce in META-LEVEL : metaParse(fmod 'FOO is
  including 'RAT .
  sorts 'Foo .
  none
  none
  none
  none
endfm, '-3, anyType) .
rewrites: 1
result ResultPair: {'-_['s_^3['0.Zero]],'NzInt}
==========================================
reduce in META-LEVEL : metaParse(fmod 'FOO is
  including 'RAT .
  sorts 'Foo .
  none
  none
  none
  none
endfm, '-2/3, anyType) .
rewrites: 1
result ResultPair: {'_/_['-_['s_^2['0.Zero]],'s_^3['0.Zero]],'NzRat}
==========================================
reduce in META-LEVEL : metaParse(fmod 'FOO is
  including 'RAT .
  sorts 'Foo .
  none
  none
  none
  none
endfm, 's_^2 '`( '0 '`), anyType) .
rewrites: 1
result ResultPair: {'s_^2['0.Zero],'NzNat}
==========================================
reduce in META-LEVEL : metaParse(fmod 'FOO is
  including 'RAT .
  sorts 'Foo .
  none
  none
  none
  none
endfm, '-256789/387654, anyType) .
rewrites: 1
result ResultPair: {'_/_['-_['s_^256789['0.Zero]],'s_^387654['0.Zero]],'NzRat}
==========================================
reduce in META-LEVEL : metaParse(fmod 'FOO is
  including 'BOOL .
  sorts 'Foo .
  none
  op 's : 'Bool -> 'Bool [iter] .
  none
  none
endfm, 's^1234 '`( 'true '`), anyType) .
rewrites: 1
result ResultPair: {'s^1234['true.Bool],'Bool}
Maude> Bye.