mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-20 10:13:01 +01:00
Add mes and mescc-tools-extra
mescc-tools-extra contains two important tools: - cp - chmod mes first builds itself from a mes 0.21 seed as used by guix, and then builds a mes 0.22 and then mes 0.22 using that created mes 0.22. It does /not/ use bootstrap.sh as we don't have a proper shell at this point, it has been manually adapted for kaem.
This commit is contained in:
parent
2706e07556
commit
649d7b68dc
1029 changed files with 120985 additions and 18 deletions
1081
sysa/mes-0.22/module/nyacc/lang/c99/mach.d/c99-act.scm
Normal file
1081
sysa/mes-0.22/module/nyacc/lang/c99/mach.d/c99-act.scm
Normal file
File diff suppressed because it is too large
Load diff
1211
sysa/mes-0.22/module/nyacc/lang/c99/mach.d/c99-tab.scm
Normal file
1211
sysa/mes-0.22/module/nyacc/lang/c99/mach.d/c99-tab.scm
Normal file
File diff suppressed because it is too large
Load diff
148
sysa/mes-0.22/module/nyacc/lang/c99/mach.d/c99cx-act.scm
Normal file
148
sysa/mes-0.22/module/nyacc/lang/c99/mach.d/c99cx-act.scm
Normal file
|
|
@ -0,0 +1,148 @@
|
|||
;; c99cx-act.scm
|
||||
|
||||
;; Copyright (C) 2018 Matthew R. Wette
|
||||
;;
|
||||
;; This library is free software; you can redistribute it and/or
|
||||
;; modify it under the terms of the GNU Lesser General Public
|
||||
;; License as published by the Free Software Foundation; either
|
||||
;; version 3 of the License, or (at your option) any later version.
|
||||
;; See the file COPYING included with the this distribution.
|
||||
|
||||
(define c99cx-act-v
|
||||
(vector
|
||||
;; $start => constant-expression
|
||||
(lambda ($1 . $rest) $1)
|
||||
;; primary-expression => identifier
|
||||
(lambda ($1 . $rest) `(p-expr ,$1))
|
||||
;; primary-expression => constant
|
||||
(lambda ($1 . $rest) `(p-expr ,$1))
|
||||
;; primary-expression => string-literal
|
||||
(lambda ($1 . $rest) `(p-expr ,(tl->list $1)))
|
||||
;; primary-expression => "(" constant-expression ")"
|
||||
(lambda ($3 $2 $1 . $rest) $2)
|
||||
;; postfix-expression => primary-expression
|
||||
(lambda ($1 . $rest) $1)
|
||||
;; postfix-expression => postfix-expression "[" constant-expression "]"
|
||||
(lambda ($4 $3 $2 $1 . $rest)
|
||||
`(array-ref ,$3 ,$1))
|
||||
;; postfix-expression => postfix-expression "." identifier
|
||||
(lambda ($3 $2 $1 . $rest) `(d-sel ,$3 ,$1))
|
||||
;; postfix-expression => postfix-expression "->" identifier
|
||||
(lambda ($3 $2 $1 . $rest) `(i-sel ,$3 ,$1))
|
||||
;; postfix-expression => postfix-expression "++"
|
||||
(lambda ($2 $1 . $rest) `(post-inc ,$1))
|
||||
;; postfix-expression => postfix-expression "--"
|
||||
(lambda ($2 $1 . $rest) `(post-dec ,$1))
|
||||
;; unary-expression => postfix-expression
|
||||
(lambda ($1 . $rest) $1)
|
||||
;; unary-expression => "++" unary-expression
|
||||
(lambda ($2 $1 . $rest) `(pre-inc ,$2))
|
||||
;; unary-expression => "--" unary-expression
|
||||
(lambda ($2 $1 . $rest) `(pre-dec ,$2))
|
||||
;; unary-expression => unary-operator cast-expression
|
||||
(lambda ($2 $1 . $rest) (list $1 $2))
|
||||
;; unary-expression => "sizeof" unary-expression
|
||||
(lambda ($2 $1 . $rest) `(sizeof-expr ,$2))
|
||||
;; unary-operator => "&"
|
||||
(lambda ($1 . $rest) 'ref-to)
|
||||
;; unary-operator => "*"
|
||||
(lambda ($1 . $rest) 'de-ref)
|
||||
;; unary-operator => "+"
|
||||
(lambda ($1 . $rest) 'pos)
|
||||
;; unary-operator => "-"
|
||||
(lambda ($1 . $rest) 'neg)
|
||||
;; unary-operator => "~"
|
||||
(lambda ($1 . $rest) 'bitwise-not)
|
||||
;; unary-operator => "!"
|
||||
(lambda ($1 . $rest) 'not)
|
||||
;; cast-expression => unary-expression
|
||||
(lambda ($1 . $rest) $1)
|
||||
;; multiplicative-expression => cast-expression
|
||||
(lambda ($1 . $rest) $1)
|
||||
;; multiplicative-expression => multiplicative-expression "*" cast-expre...
|
||||
(lambda ($3 $2 $1 . $rest) `(mul ,$1 ,$3))
|
||||
;; multiplicative-expression => multiplicative-expression "/" cast-expre...
|
||||
(lambda ($3 $2 $1 . $rest) `(div ,$1 ,$3))
|
||||
;; multiplicative-expression => multiplicative-expression "%" cast-expre...
|
||||
(lambda ($3 $2 $1 . $rest) `(mod ,$1 ,$3))
|
||||
;; additive-expression => multiplicative-expression
|
||||
(lambda ($1 . $rest) $1)
|
||||
;; additive-expression => additive-expression "+" multiplicative-expression
|
||||
(lambda ($3 $2 $1 . $rest) `(add ,$1 ,$3))
|
||||
;; additive-expression => additive-expression "-" multiplicative-expression
|
||||
(lambda ($3 $2 $1 . $rest) `(sub ,$1 ,$3))
|
||||
;; shift-expression => additive-expression
|
||||
(lambda ($1 . $rest) $1)
|
||||
;; shift-expression => shift-expression "<<" additive-expression
|
||||
(lambda ($3 $2 $1 . $rest) `(lshift ,$1 ,$3))
|
||||
;; shift-expression => shift-expression ">>" additive-expression
|
||||
(lambda ($3 $2 $1 . $rest) `(rshift ,$1 ,$3))
|
||||
;; relational-expression => shift-expression
|
||||
(lambda ($1 . $rest) $1)
|
||||
;; relational-expression => relational-expression "<" shift-expression
|
||||
(lambda ($3 $2 $1 . $rest) `(lt ,$1 ,$3))
|
||||
;; relational-expression => relational-expression ">" shift-expression
|
||||
(lambda ($3 $2 $1 . $rest) `(gt ,$1 ,$3))
|
||||
;; relational-expression => relational-expression "<=" shift-expression
|
||||
(lambda ($3 $2 $1 . $rest) `(le ,$1 ,$3))
|
||||
;; relational-expression => relational-expression ">=" shift-expression
|
||||
(lambda ($3 $2 $1 . $rest) `(ge ,$1 ,$3))
|
||||
;; equality-expression => relational-expression
|
||||
(lambda ($1 . $rest) $1)
|
||||
;; equality-expression => equality-expression "==" relational-expression
|
||||
(lambda ($3 $2 $1 . $rest) `(eq ,$1 ,$3))
|
||||
;; equality-expression => equality-expression "!=" relational-expression
|
||||
(lambda ($3 $2 $1 . $rest) `(ne ,$1 ,$3))
|
||||
;; bitwise-and-expression => equality-expression
|
||||
(lambda ($1 . $rest) $1)
|
||||
;; bitwise-and-expression => bitwise-and-expression "&" equality-expression
|
||||
(lambda ($3 $2 $1 . $rest)
|
||||
`(bitwise-and ,$1 ,$3))
|
||||
;; bitwise-xor-expression => bitwise-and-expression
|
||||
(lambda ($1 . $rest) $1)
|
||||
;; bitwise-xor-expression => bitwise-xor-expression "^" bitwise-and-expr...
|
||||
(lambda ($3 $2 $1 . $rest)
|
||||
`(bitwise-xor ,$1 ,$3))
|
||||
;; bitwise-or-expression => bitwise-xor-expression
|
||||
(lambda ($1 . $rest) $1)
|
||||
;; bitwise-or-expression => bitwise-or-expression "|" bitwise-xor-expres...
|
||||
(lambda ($3 $2 $1 . $rest) `(bitwise-or ,$1 ,$3))
|
||||
;; logical-and-expression => bitwise-or-expression
|
||||
(lambda ($1 . $rest) $1)
|
||||
;; logical-and-expression => logical-and-expression "&&" bitwise-or-expr...
|
||||
(lambda ($3 $2 $1 . $rest) `(and ,$1 ,$3))
|
||||
;; logical-or-expression => logical-and-expression
|
||||
(lambda ($1 . $rest) $1)
|
||||
;; logical-or-expression => logical-or-expression "||" logical-and-expre...
|
||||
(lambda ($3 $2 $1 . $rest) `(or ,$1 ,$3))
|
||||
;; conditional-expression => logical-or-expression
|
||||
(lambda ($1 . $rest) $1)
|
||||
;; conditional-expression => logical-or-expression "?" constant-expressi...
|
||||
(lambda ($5 $4 $3 $2 $1 . $rest)
|
||||
`(cond-expr ,$1 ,$3 ,$5))
|
||||
;; constant-expression => conditional-expression
|
||||
(lambda ($1 . $rest) $1)
|
||||
;; identifier => '$ident
|
||||
(lambda ($1 . $rest) `(ident ,$1))
|
||||
;; constant => '$fixed
|
||||
(lambda ($1 . $rest) `(fixed ,$1))
|
||||
;; constant => '$float
|
||||
(lambda ($1 . $rest) `(float ,$1))
|
||||
;; constant => '$chlit
|
||||
(lambda ($1 . $rest) `(char ,$1))
|
||||
;; constant => '$chlit/L
|
||||
(lambda ($1 . $rest)
|
||||
`(char (@ (type "wchar_t")) ,$1))
|
||||
;; constant => '$chlit/u
|
||||
(lambda ($1 . $rest)
|
||||
`(char (@ (type "char16_t")) ,$1))
|
||||
;; constant => '$chlit/U
|
||||
(lambda ($1 . $rest)
|
||||
`(char (@ (type "char32_t")) ,$1))
|
||||
;; string-literal => '$string
|
||||
(lambda ($1 . $rest) (make-tl 'string $1))
|
||||
;; string-literal => string-literal '$string
|
||||
(lambda ($2 $1 . $rest) (tl-append $1 $2))
|
||||
))
|
||||
|
||||
;;; end tables
|
||||
181
sysa/mes-0.22/module/nyacc/lang/c99/mach.d/c99cx-tab.scm
Normal file
181
sysa/mes-0.22/module/nyacc/lang/c99/mach.d/c99cx-tab.scm
Normal file
|
|
@ -0,0 +1,181 @@
|
|||
;; c99cx-tab.scm
|
||||
|
||||
;; Copyright (C) 2018 Matthew R. Wette
|
||||
;;
|
||||
;; This library is free software; you can redistribute it and/or
|
||||
;; modify it under the terms of the GNU Lesser General Public
|
||||
;; License as published by the Free Software Foundation; either
|
||||
;; version 3 of the License, or (at your option) any later version.
|
||||
;; See the file COPYING included with the this distribution.
|
||||
|
||||
(define c99cx-mtab
|
||||
'(($start . 63) ($string . 3) ($chlit/U . 4) ($chlit/u . 5) ($chlit/L . 6)
|
||||
($chlit . 7) ($float . 8) ($fixed . 9) ($ident . 10) (":" . 11) ("?" . 12)
|
||||
("||" . 13) ("&&" . 14) ("|" . 15) ("^" . 16) ("!=" . 17) ("==" . 18)
|
||||
(">=" . 19) ("<=" . 20) (">" . 21) ("<" . 22) (">>" . 23) ("<<" . 24)
|
||||
("%" . 25) ("/" . 26) ("!" . 27) ("~" . 28) ("-" . 29) ("+" . 30) ("*" .
|
||||
31) ("&" . 32) ("sizeof" . 33) ("--" . 34) ("++" . 35) ("->" . 36)
|
||||
("." . 37) ("]" . 38) ("[" . 39) (")" . 40) ("(" . 41) ($error . 2)
|
||||
($end . 43)))
|
||||
|
||||
(define c99cx-ntab
|
||||
'((44 . conditional-expression) (45 . logical-or-expression) (46 .
|
||||
logical-and-expression) (47 . bitwise-or-expression) (48 .
|
||||
bitwise-xor-expression) (49 . bitwise-and-expression) (50 .
|
||||
equality-expression) (51 . relational-expression) (52 . shift-expression)
|
||||
(53 . additive-expression) (54 . multiplicative-expression) (55 .
|
||||
cast-expression) (56 . unary-operator) (57 . unary-expression) (58 .
|
||||
postfix-expression) (59 . primary-expression) (60 . string-literal)
|
||||
(61 . constant) (62 . identifier) (63 . constant-expression)))
|
||||
|
||||
(define c99cx-len-v
|
||||
#(1 1 1 1 3 1 4 3 3 2 2 1 2 2 2 2 1 1 1 1 1 1 1 1 3 3 3 1 3 3 1 3 3 1 3 3 3
|
||||
3 1 3 3 1 3 1 3 1 3 1 3 1 3 1 5 1 1 1 1 1 1 1 1 1 2))
|
||||
|
||||
(define c99cx-rto-v
|
||||
#(#f 59 59 59 59 58 58 58 58 58 58 57 57 57 57 57 56 56 56 56 56 56 55 54
|
||||
54 54 54 53 53 53 52 52 52 51 51 51 51 51 50 50 50 49 49 48 48 47 47 46 46
|
||||
45 45 44 44 63 62 61 61 61 61 61 61 60 60))
|
||||
|
||||
(define c99cx-pat-v
|
||||
#(((3 . 1) (4 . 2) (5 . 3) (6 . 4) (7 . 5) (8 . 6) (9 . 7) (10 . 8)
|
||||
(41 . 9) (60 . 10) (61 . 11) (62 . 12) (27 . 13) (28 . 14) (29 . 15)
|
||||
(30 . 16) (31 . 17) (32 . 18) (59 . 19) (33 . 20) (56 . 21) (34 . 22)
|
||||
(35 . 23) (58 . 24) (57 . 25) (55 . 26) (54 . 27) (53 . 28) (52 . 29)
|
||||
(51 . 30) (50 . 31) (49 . 32) (48 . 33) (47 . 34) (46 . 35) (45 . 36)
|
||||
(44 . 37) (63 . 38)) ((1 . -61)) ((1 . -60)) ((1 . -59)) ((1 . -58))
|
||||
((1 . -57)) ((1 . -56)) ((1 . -55)) ((1 . -54)) ((3 . 1) (4 . 2) (5 . 3)
|
||||
(6 . 4) (7 . 5) (8 . 6) (9 . 7) (10 . 8) (41 . 9) (60 . 10) (61 . 11)
|
||||
(62 . 12) (27 . 13) (28 . 14) (29 . 15) (30 . 16) (31 . 17) (32 . 18)
|
||||
(59 . 19) (33 . 20) (56 . 21) (34 . 22) (35 . 23) (58 . 24) (57 . 25)
|
||||
(55 . 26) (54 . 27) (53 . 28) (52 . 29) (51 . 30) (50 . 31) (49 . 32)
|
||||
(48 . 33) (47 . 34) (46 . 35) (45 . 36) (44 . 37) (63 . 68)) ((3 . 67)
|
||||
(1 . -3)) ((1 . -2)) ((1 . -1)) ((1 . -21)) ((1 . -20)) ((1 . -19))
|
||||
((1 . -18)) ((1 . -17)) ((1 . -16)) ((1 . -5)) ((3 . 1) (4 . 2) (5 . 3)
|
||||
(6 . 4) (7 . 5) (8 . 6) (9 . 7) (10 . 8) (41 . 9) (60 . 10) (61 . 11)
|
||||
(62 . 12) (27 . 13) (28 . 14) (29 . 15) (30 . 16) (31 . 17) (32 . 18)
|
||||
(59 . 19) (33 . 20) (56 . 21) (34 . 22) (35 . 23) (58 . 24) (57 . 66))
|
||||
((3 . 1) (4 . 2) (5 . 3) (6 . 4) (7 . 5) (8 . 6) (9 . 7) (10 . 8) (41 . 9)
|
||||
(60 . 10) (61 . 11) (62 . 12) (27 . 13) (28 . 14) (29 . 15) (30 . 16)
|
||||
(31 . 17) (32 . 18) (59 . 19) (33 . 20) (56 . 21) (34 . 22) (35 . 23)
|
||||
(58 . 24) (57 . 25) (55 . 65)) ((3 . 1) (4 . 2) (5 . 3) (6 . 4) (7 . 5)
|
||||
(8 . 6) (9 . 7) (10 . 8) (41 . 9) (60 . 10) (61 . 11) (62 . 12) (27 . 13)
|
||||
(28 . 14) (29 . 15) (30 . 16) (31 . 17) (32 . 18) (59 . 19) (33 . 20)
|
||||
(56 . 21) (34 . 22) (35 . 23) (58 . 24) (57 . 64)) ((3 . 1) (4 . 2)
|
||||
(5 . 3) (6 . 4) (7 . 5) (8 . 6) (9 . 7) (10 . 8) (41 . 9) (60 . 10)
|
||||
(61 . 11) (62 . 12) (27 . 13) (28 . 14) (29 . 15) (30 . 16) (31 . 17)
|
||||
(32 . 18) (59 . 19) (33 . 20) (56 . 21) (34 . 22) (35 . 23) (58 . 24)
|
||||
(57 . 63)) ((39 . 58) (37 . 59) (36 . 60) (35 . 61) (34 . 62) (1 . -11))
|
||||
((1 . -22)) ((1 . -23)) ((31 . 55) (26 . 56) (25 . 57) (1 . -27)) (
|
||||
(30 . 53) (29 . 54) (1 . -30)) ((24 . 51) (23 . 52) (1 . -33)) ((22 . 47)
|
||||
(21 . 48) (20 . 49) (19 . 50) (1 . -38)) ((18 . 45) (17 . 46) (1 . -41))
|
||||
((32 . 44) (1 . -43)) ((16 . 43) (1 . -45)) ((15 . 42) (1 . -47)) (
|
||||
(14 . 41) (1 . -49)) ((12 . 39) (13 . 40) (1 . -51)) ((1 . -53)) ((43 . 0)
|
||||
) ((3 . 1) (4 . 2) (5 . 3) (6 . 4) (7 . 5) (8 . 6) (9 . 7) (10 . 8)
|
||||
(41 . 9) (60 . 10) (61 . 11) (62 . 12) (27 . 13) (28 . 14) (29 . 15)
|
||||
(30 . 16) (31 . 17) (32 . 18) (59 . 19) (33 . 20) (56 . 21) (34 . 22)
|
||||
(35 . 23) (58 . 24) (57 . 25) (55 . 26) (54 . 27) (53 . 28) (52 . 29)
|
||||
(51 . 30) (50 . 31) (49 . 32) (48 . 33) (47 . 34) (46 . 35) (45 . 36)
|
||||
(44 . 37) (63 . 91)) ((3 . 1) (4 . 2) (5 . 3) (6 . 4) (7 . 5) (8 . 6)
|
||||
(9 . 7) (10 . 8) (41 . 9) (60 . 10) (61 . 11) (62 . 12) (27 . 13) (28 . 14
|
||||
) (29 . 15) (30 . 16) (31 . 17) (32 . 18) (59 . 19) (33 . 20) (56 . 21)
|
||||
(34 . 22) (35 . 23) (58 . 24) (57 . 25) (55 . 26) (54 . 27) (53 . 28)
|
||||
(52 . 29) (51 . 30) (50 . 31) (49 . 32) (48 . 33) (47 . 34) (46 . 90))
|
||||
((3 . 1) (4 . 2) (5 . 3) (6 . 4) (7 . 5) (8 . 6) (9 . 7) (10 . 8) (41 . 9)
|
||||
(60 . 10) (61 . 11) (62 . 12) (27 . 13) (28 . 14) (29 . 15) (30 . 16)
|
||||
(31 . 17) (32 . 18) (59 . 19) (33 . 20) (56 . 21) (34 . 22) (35 . 23)
|
||||
(58 . 24) (57 . 25) (55 . 26) (54 . 27) (53 . 28) (52 . 29) (51 . 30)
|
||||
(50 . 31) (49 . 32) (48 . 33) (47 . 89)) ((3 . 1) (4 . 2) (5 . 3) (6 . 4)
|
||||
(7 . 5) (8 . 6) (9 . 7) (10 . 8) (41 . 9) (60 . 10) (61 . 11) (62 . 12)
|
||||
(27 . 13) (28 . 14) (29 . 15) (30 . 16) (31 . 17) (32 . 18) (59 . 19)
|
||||
(33 . 20) (56 . 21) (34 . 22) (35 . 23) (58 . 24) (57 . 25) (55 . 26)
|
||||
(54 . 27) (53 . 28) (52 . 29) (51 . 30) (50 . 31) (49 . 32) (48 . 88))
|
||||
((3 . 1) (4 . 2) (5 . 3) (6 . 4) (7 . 5) (8 . 6) (9 . 7) (10 . 8) (41 . 9)
|
||||
(60 . 10) (61 . 11) (62 . 12) (27 . 13) (28 . 14) (29 . 15) (30 . 16)
|
||||
(31 . 17) (32 . 18) (59 . 19) (33 . 20) (56 . 21) (34 . 22) (35 . 23)
|
||||
(58 . 24) (57 . 25) (55 . 26) (54 . 27) (53 . 28) (52 . 29) (51 . 30)
|
||||
(50 . 31) (49 . 87)) ((3 . 1) (4 . 2) (5 . 3) (6 . 4) (7 . 5) (8 . 6)
|
||||
(9 . 7) (10 . 8) (41 . 9) (60 . 10) (61 . 11) (62 . 12) (27 . 13) (28 . 14
|
||||
) (29 . 15) (30 . 16) (31 . 17) (32 . 18) (59 . 19) (33 . 20) (56 . 21)
|
||||
(34 . 22) (35 . 23) (58 . 24) (57 . 25) (55 . 26) (54 . 27) (53 . 28)
|
||||
(52 . 29) (51 . 30) (50 . 86)) ((3 . 1) (4 . 2) (5 . 3) (6 . 4) (7 . 5)
|
||||
(8 . 6) (9 . 7) (10 . 8) (41 . 9) (60 . 10) (61 . 11) (62 . 12) (27 . 13)
|
||||
(28 . 14) (29 . 15) (30 . 16) (31 . 17) (32 . 18) (59 . 19) (33 . 20)
|
||||
(56 . 21) (34 . 22) (35 . 23) (58 . 24) (57 . 25) (55 . 26) (54 . 27)
|
||||
(53 . 28) (52 . 29) (51 . 85)) ((3 . 1) (4 . 2) (5 . 3) (6 . 4) (7 . 5)
|
||||
(8 . 6) (9 . 7) (10 . 8) (41 . 9) (60 . 10) (61 . 11) (62 . 12) (27 . 13)
|
||||
(28 . 14) (29 . 15) (30 . 16) (31 . 17) (32 . 18) (59 . 19) (33 . 20)
|
||||
(56 . 21) (34 . 22) (35 . 23) (58 . 24) (57 . 25) (55 . 26) (54 . 27)
|
||||
(53 . 28) (52 . 29) (51 . 84)) ((3 . 1) (4 . 2) (5 . 3) (6 . 4) (7 . 5)
|
||||
(8 . 6) (9 . 7) (10 . 8) (41 . 9) (60 . 10) (61 . 11) (62 . 12) (27 . 13)
|
||||
(28 . 14) (29 . 15) (30 . 16) (31 . 17) (32 . 18) (59 . 19) (33 . 20)
|
||||
(56 . 21) (34 . 22) (35 . 23) (58 . 24) (57 . 25) (55 . 26) (54 . 27)
|
||||
(53 . 28) (52 . 83)) ((3 . 1) (4 . 2) (5 . 3) (6 . 4) (7 . 5) (8 . 6)
|
||||
(9 . 7) (10 . 8) (41 . 9) (60 . 10) (61 . 11) (62 . 12) (27 . 13) (28 . 14
|
||||
) (29 . 15) (30 . 16) (31 . 17) (32 . 18) (59 . 19) (33 . 20) (56 . 21)
|
||||
(34 . 22) (35 . 23) (58 . 24) (57 . 25) (55 . 26) (54 . 27) (53 . 28)
|
||||
(52 . 82)) ((3 . 1) (4 . 2) (5 . 3) (6 . 4) (7 . 5) (8 . 6) (9 . 7)
|
||||
(10 . 8) (41 . 9) (60 . 10) (61 . 11) (62 . 12) (27 . 13) (28 . 14)
|
||||
(29 . 15) (30 . 16) (31 . 17) (32 . 18) (59 . 19) (33 . 20) (56 . 21)
|
||||
(34 . 22) (35 . 23) (58 . 24) (57 . 25) (55 . 26) (54 . 27) (53 . 28)
|
||||
(52 . 81)) ((3 . 1) (4 . 2) (5 . 3) (6 . 4) (7 . 5) (8 . 6) (9 . 7)
|
||||
(10 . 8) (41 . 9) (60 . 10) (61 . 11) (62 . 12) (27 . 13) (28 . 14)
|
||||
(29 . 15) (30 . 16) (31 . 17) (32 . 18) (59 . 19) (33 . 20) (56 . 21)
|
||||
(34 . 22) (35 . 23) (58 . 24) (57 . 25) (55 . 26) (54 . 27) (53 . 28)
|
||||
(52 . 80)) ((3 . 1) (4 . 2) (5 . 3) (6 . 4) (7 . 5) (8 . 6) (9 . 7)
|
||||
(10 . 8) (41 . 9) (60 . 10) (61 . 11) (62 . 12) (27 . 13) (28 . 14)
|
||||
(29 . 15) (30 . 16) (31 . 17) (32 . 18) (59 . 19) (33 . 20) (56 . 21)
|
||||
(34 . 22) (35 . 23) (58 . 24) (57 . 25) (55 . 26) (54 . 27) (53 . 79))
|
||||
((3 . 1) (4 . 2) (5 . 3) (6 . 4) (7 . 5) (8 . 6) (9 . 7) (10 . 8) (41 . 9)
|
||||
(60 . 10) (61 . 11) (62 . 12) (27 . 13) (28 . 14) (29 . 15) (30 . 16)
|
||||
(31 . 17) (32 . 18) (59 . 19) (33 . 20) (56 . 21) (34 . 22) (35 . 23)
|
||||
(58 . 24) (57 . 25) (55 . 26) (54 . 27) (53 . 78)) ((3 . 1) (4 . 2)
|
||||
(5 . 3) (6 . 4) (7 . 5) (8 . 6) (9 . 7) (10 . 8) (41 . 9) (60 . 10)
|
||||
(61 . 11) (62 . 12) (27 . 13) (28 . 14) (29 . 15) (30 . 16) (31 . 17)
|
||||
(32 . 18) (59 . 19) (33 . 20) (56 . 21) (34 . 22) (35 . 23) (58 . 24)
|
||||
(57 . 25) (55 . 26) (54 . 77)) ((3 . 1) (4 . 2) (5 . 3) (6 . 4) (7 . 5)
|
||||
(8 . 6) (9 . 7) (10 . 8) (41 . 9) (60 . 10) (61 . 11) (62 . 12) (27 . 13)
|
||||
(28 . 14) (29 . 15) (30 . 16) (31 . 17) (32 . 18) (59 . 19) (33 . 20)
|
||||
(56 . 21) (34 . 22) (35 . 23) (58 . 24) (57 . 25) (55 . 26) (54 . 76))
|
||||
((3 . 1) (4 . 2) (5 . 3) (6 . 4) (7 . 5) (8 . 6) (9 . 7) (10 . 8) (41 . 9)
|
||||
(60 . 10) (61 . 11) (62 . 12) (27 . 13) (28 . 14) (29 . 15) (30 . 16)
|
||||
(31 . 17) (32 . 18) (59 . 19) (33 . 20) (56 . 21) (34 . 22) (35 . 23)
|
||||
(58 . 24) (57 . 25) (55 . 75)) ((3 . 1) (4 . 2) (5 . 3) (6 . 4) (7 . 5)
|
||||
(8 . 6) (9 . 7) (10 . 8) (41 . 9) (60 . 10) (61 . 11) (62 . 12) (27 . 13)
|
||||
(28 . 14) (29 . 15) (30 . 16) (31 . 17) (32 . 18) (59 . 19) (33 . 20)
|
||||
(56 . 21) (34 . 22) (35 . 23) (58 . 24) (57 . 25) (55 . 74)) ((3 . 1)
|
||||
(4 . 2) (5 . 3) (6 . 4) (7 . 5) (8 . 6) (9 . 7) (10 . 8) (41 . 9) (60 . 10
|
||||
) (61 . 11) (62 . 12) (27 . 13) (28 . 14) (29 . 15) (30 . 16) (31 . 17)
|
||||
(32 . 18) (59 . 19) (33 . 20) (56 . 21) (34 . 22) (35 . 23) (58 . 24)
|
||||
(57 . 25) (55 . 73)) ((3 . 1) (4 . 2) (5 . 3) (6 . 4) (7 . 5) (8 . 6)
|
||||
(9 . 7) (10 . 8) (41 . 9) (60 . 10) (61 . 11) (62 . 12) (27 . 13) (28 . 14
|
||||
) (29 . 15) (30 . 16) (31 . 17) (32 . 18) (59 . 19) (33 . 20) (56 . 21)
|
||||
(34 . 22) (35 . 23) (58 . 24) (57 . 25) (55 . 26) (54 . 27) (53 . 28)
|
||||
(52 . 29) (51 . 30) (50 . 31) (49 . 32) (48 . 33) (47 . 34) (46 . 35)
|
||||
(45 . 36) (44 . 37) (63 . 72)) ((10 . 8) (62 . 71)) ((10 . 8) (62 . 70))
|
||||
((1 . -9)) ((1 . -10)) ((1 . -12)) ((1 . -13)) ((1 . -14)) ((1 . -15))
|
||||
((1 . -62)) ((40 . 69)) ((1 . -4)) ((1 . -8)) ((1 . -7)) ((38 . 93))
|
||||
((1 . -26)) ((1 . -25)) ((1 . -24)) ((31 . 55) (26 . 56) (25 . 57)
|
||||
(1 . -29)) ((31 . 55) (26 . 56) (25 . 57) (1 . -28)) ((30 . 53) (29 . 54)
|
||||
(1 . -32)) ((30 . 53) (29 . 54) (1 . -31)) ((24 . 51) (23 . 52) (1 . -37))
|
||||
((24 . 51) (23 . 52) (1 . -36)) ((24 . 51) (23 . 52) (1 . -35)) ((24 . 51)
|
||||
(23 . 52) (1 . -34)) ((22 . 47) (21 . 48) (20 . 49) (19 . 50) (1 . -40))
|
||||
((22 . 47) (21 . 48) (20 . 49) (19 . 50) (1 . -39)) ((18 . 45) (17 . 46)
|
||||
(1 . -42)) ((32 . 44) (1 . -44)) ((16 . 43) (1 . -46)) ((15 . 42) (1 . -48
|
||||
)) ((14 . 41) (1 . -50)) ((11 . 92)) ((3 . 1) (4 . 2) (5 . 3) (6 . 4)
|
||||
(7 . 5) (8 . 6) (9 . 7) (10 . 8) (41 . 9) (60 . 10) (61 . 11) (62 . 12)
|
||||
(27 . 13) (28 . 14) (29 . 15) (30 . 16) (31 . 17) (32 . 18) (59 . 19)
|
||||
(33 . 20) (56 . 21) (34 . 22) (35 . 23) (58 . 24) (57 . 25) (55 . 26)
|
||||
(54 . 27) (53 . 28) (52 . 29) (51 . 30) (50 . 31) (49 . 32) (48 . 33)
|
||||
(47 . 34) (46 . 35) (45 . 36) (44 . 94)) ((1 . -6)) ((1 . -52))))
|
||||
|
||||
(define c99cx-tables
|
||||
(list
|
||||
(cons 'mtab c99cx-mtab)
|
||||
(cons 'ntab c99cx-ntab)
|
||||
(cons 'len-v c99cx-len-v)
|
||||
(cons 'rto-v c99cx-rto-v)
|
||||
(cons 'pat-v c99cx-pat-v)
|
||||
))
|
||||
|
||||
;;; end tables
|
||||
1081
sysa/mes-0.22/module/nyacc/lang/c99/mach.d/c99x-act.scm
Normal file
1081
sysa/mes-0.22/module/nyacc/lang/c99/mach.d/c99x-act.scm
Normal file
File diff suppressed because it is too large
Load diff
1156
sysa/mes-0.22/module/nyacc/lang/c99/mach.d/c99x-tab.scm
Normal file
1156
sysa/mes-0.22/module/nyacc/lang/c99/mach.d/c99x-tab.scm
Normal file
File diff suppressed because it is too large
Load diff
130
sysa/mes-0.22/module/nyacc/lang/c99/mach.d/cpp-act.scm
Normal file
130
sysa/mes-0.22/module/nyacc/lang/c99/mach.d/cpp-act.scm
Normal file
|
|
@ -0,0 +1,130 @@
|
|||
;; cpp-act.scm
|
||||
|
||||
;; Copyright (C) 2016,2017 Matthew R. Wette
|
||||
;;
|
||||
;; This library is free software; you can redistribute it and/or
|
||||
;; modify it under the terms of the GNU Lesser General Public
|
||||
;; License as published by the Free Software Foundation; either
|
||||
;; version 3 of the License, or (at your option) any later version.
|
||||
;; See the file COPYING included with the this distribution.
|
||||
|
||||
(define cpp-act-v
|
||||
(vector
|
||||
;; $start => conditional-expression
|
||||
(lambda ($1 . $rest) $1)
|
||||
;; conditional-expression => logical-or-expression
|
||||
(lambda ($1 . $rest) $1)
|
||||
;; conditional-expression => logical-or-expression "?" logical-or-expres...
|
||||
(lambda ($5 $4 $3 $2 $1 . $rest)
|
||||
`(cond-expr ,$1 ,$3 ,$5))
|
||||
;; logical-or-expression => logical-and-expression
|
||||
(lambda ($1 . $rest) $1)
|
||||
;; logical-or-expression => logical-or-expression "||" logical-and-expre...
|
||||
(lambda ($3 $2 $1 . $rest) `(or ,$1 ,$3))
|
||||
;; logical-and-expression => bitwise-or-expression
|
||||
(lambda ($1 . $rest) $1)
|
||||
;; logical-and-expression => logical-and-expression "&&" bitwise-or-expr...
|
||||
(lambda ($3 $2 $1 . $rest) `(and ,$1 ,$3))
|
||||
;; bitwise-or-expression => bitwise-xor-expression
|
||||
(lambda ($1 . $rest) $1)
|
||||
;; bitwise-or-expression => bitwise-or-expression "|" bitwise-xor-expres...
|
||||
(lambda ($3 $2 $1 . $rest) `(bitwise-or ,$1 ,$3))
|
||||
;; bitwise-xor-expression => bitwise-and-expression
|
||||
(lambda ($1 . $rest) $1)
|
||||
;; bitwise-xor-expression => bitwise-xor-expression "^" bitwise-and-expr...
|
||||
(lambda ($3 $2 $1 . $rest)
|
||||
`(bitwise-xor ,$1 ,$3))
|
||||
;; bitwise-and-expression => equality-expression
|
||||
(lambda ($1 . $rest) $1)
|
||||
;; bitwise-and-expression => bitwise-and-expression "&" equality-expression
|
||||
(lambda ($3 $2 $1 . $rest)
|
||||
`(bitwise-and ,$1 ,$3))
|
||||
;; equality-expression => relational-expression
|
||||
(lambda ($1 . $rest) $1)
|
||||
;; equality-expression => equality-expression "==" relational-expression
|
||||
(lambda ($3 $2 $1 . $rest) `(eq ,$1 ,$3))
|
||||
;; equality-expression => equality-expression "!=" relational-expression
|
||||
(lambda ($3 $2 $1 . $rest) `(ne ,$1 ,$3))
|
||||
;; relational-expression => shift-expression
|
||||
(lambda ($1 . $rest) $1)
|
||||
;; relational-expression => relational-expression "<" shift-expression
|
||||
(lambda ($3 $2 $1 . $rest) `(lt ,$1 ,$3))
|
||||
;; relational-expression => relational-expression "<=" shift-expression
|
||||
(lambda ($3 $2 $1 . $rest) `(le ,$1 ,$3))
|
||||
;; relational-expression => relational-expression ">" shift-expression
|
||||
(lambda ($3 $2 $1 . $rest) `(gt ,$1 ,$3))
|
||||
;; relational-expression => relational-expression ">=" shift-expression
|
||||
(lambda ($3 $2 $1 . $rest) `(ge ,$1 ,$3))
|
||||
;; shift-expression => additive-expression
|
||||
(lambda ($1 . $rest) $1)
|
||||
;; shift-expression => shift-expression "<<" additive-expression
|
||||
(lambda ($3 $2 $1 . $rest) `(lshift ,$1 ,$3))
|
||||
;; shift-expression => shift-expression ">>" additive-expression
|
||||
(lambda ($3 $2 $1 . $rest) `(rshift ,$1 ,$3))
|
||||
;; additive-expression => multiplicative-expression
|
||||
(lambda ($1 . $rest) $1)
|
||||
;; additive-expression => additive-expression "+" multiplicative-expression
|
||||
(lambda ($3 $2 $1 . $rest) `(add ,$1 ,$3))
|
||||
;; additive-expression => additive-expression "-" multiplicative-expression
|
||||
(lambda ($3 $2 $1 . $rest) `(sub ,$1 ,$3))
|
||||
;; multiplicative-expression => unary-expression
|
||||
(lambda ($1 . $rest) $1)
|
||||
;; multiplicative-expression => multiplicative-expression "*" unary-expr...
|
||||
(lambda ($3 $2 $1 . $rest) `(mul ,$1 ,$3))
|
||||
;; multiplicative-expression => multiplicative-expression "/" unary-expr...
|
||||
(lambda ($3 $2 $1 . $rest) `(div ,$1 ,$3))
|
||||
;; multiplicative-expression => multiplicative-expression "%" unary-expr...
|
||||
(lambda ($3 $2 $1 . $rest) `(mod ,$1 ,$3))
|
||||
;; unary-expression => postfix-expression
|
||||
(lambda ($1 . $rest) $1)
|
||||
;; unary-expression => "-" unary-expression
|
||||
(lambda ($2 $1 . $rest) `(neg ,$2))
|
||||
;; unary-expression => "+" unary-expression
|
||||
(lambda ($2 $1 . $rest) `(pos ,$2))
|
||||
;; unary-expression => "!" unary-expression
|
||||
(lambda ($2 $1 . $rest) `(not ,$2))
|
||||
;; unary-expression => "~" unary-expression
|
||||
(lambda ($2 $1 . $rest) `(bitwise-not ,$2))
|
||||
;; unary-expression => "++" unary-expression
|
||||
(lambda ($2 $1 . $rest) `(pre-inc ,$2))
|
||||
;; unary-expression => "--" unary-expression
|
||||
(lambda ($2 $1 . $rest) `(pre-dec ,$2))
|
||||
;; postfix-expression => primary-expression
|
||||
(lambda ($1 . $rest) $1)
|
||||
;; postfix-expression => postfix-expression "++"
|
||||
(lambda ($2 $1 . $rest) `(post-inc ,$1))
|
||||
;; postfix-expression => postfix-expression "--"
|
||||
(lambda ($2 $1 . $rest) `(post-dec ,$1))
|
||||
;; primary-expression => '$ident
|
||||
(lambda ($1 . $rest) `(ident ,$1))
|
||||
;; primary-expression => '$fixed
|
||||
(lambda ($1 . $rest) `(fixed ,$1))
|
||||
;; primary-expression => '$chlit
|
||||
(lambda ($1 . $rest) `(char ,$1))
|
||||
;; primary-expression => '$chlit/L
|
||||
(lambda ($1 . $rest)
|
||||
`(char (@ (type "wchar_t")) ,$1))
|
||||
;; primary-expression => '$chlit/u
|
||||
(lambda ($1 . $rest)
|
||||
`(char (@ (type "char16_t")) ,$1))
|
||||
;; primary-expression => '$chlit/U
|
||||
(lambda ($1 . $rest)
|
||||
`(char (@ (type "char32_t")) ,$1))
|
||||
;; primary-expression => "defined" "(" '$ident ")"
|
||||
(lambda ($4 $3 $2 $1 . $rest) `(defined ,$3))
|
||||
;; primary-expression => "defined" '$ident
|
||||
(lambda ($2 $1 . $rest) `(defined ,$2))
|
||||
;; primary-expression => "__has_include__" "(" '$string ")"
|
||||
(lambda ($4 $3 $2 $1 . $rest) `(has-include ,$3))
|
||||
;; primary-expression => "__has_include_next__" "(" '$string ")"
|
||||
(lambda ($4 $3 $2 $1 . $rest)
|
||||
`(has-include-next ,$3))
|
||||
;; primary-expression => "(" expression-list ")"
|
||||
(lambda ($3 $2 $1 . $rest) $2)
|
||||
;; expression-list => conditional-expression
|
||||
(lambda ($1 . $rest) $1)
|
||||
;; expression-list => expression-list "," conditional-expression
|
||||
(lambda ($3 $2 $1 . $rest) $3)
|
||||
))
|
||||
|
||||
;;; end tables
|
||||
159
sysa/mes-0.22/module/nyacc/lang/c99/mach.d/cpp-tab.scm
Normal file
159
sysa/mes-0.22/module/nyacc/lang/c99/mach.d/cpp-tab.scm
Normal file
|
|
@ -0,0 +1,159 @@
|
|||
;; cpp-tab.scm
|
||||
|
||||
;; Copyright (C) 2016,2017 Matthew R. Wette
|
||||
;;
|
||||
;; This library is free software; you can redistribute it and/or
|
||||
;; modify it under the terms of the GNU Lesser General Public
|
||||
;; License as published by the Free Software Foundation; either
|
||||
;; version 3 of the License, or (at your option) any later version.
|
||||
;; See the file COPYING included with the this distribution.
|
||||
|
||||
(define cpp-mtab
|
||||
'(($start . 56) ("," . 3) ("__has_include_next__" . 4) ($string . 5)
|
||||
("__has_include__" . 6) (")" . 7) ("(" . 8) ("defined" . 9) ($chlit/U . 10
|
||||
) ($chlit/u . 11) ($chlit/L . 12) ($chlit . 13) ($fixed . 14) ($ident . 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)
|
||||
($error . 2) ($end . 41)))
|
||||
|
||||
(define cpp-ntab
|
||||
'((42 . expression-list) (43 . primary-expression) (44 . postfix-expression)
|
||||
(45 . unary-expression) (46 . multiplicative-expression) (47 .
|
||||
additive-expression) (48 . shift-expression) (49 . relational-expression)
|
||||
(50 . equality-expression) (51 . bitwise-and-expression) (52 .
|
||||
bitwise-xor-expression) (53 . bitwise-or-expression) (54 .
|
||||
logical-and-expression) (55 . logical-or-expression) (56 .
|
||||
conditional-expression)))
|
||||
|
||||
(define cpp-len-v
|
||||
#(1 1 5 1 3 1 3 1 3 1 3 1 3 1 3 3 1 3 3 3 3 1 3 3 1 3 3 1 3 3 3 1 2 2 2 2 2
|
||||
2 1 2 2 1 1 1 1 1 1 4 2 4 4 3 1 3))
|
||||
|
||||
(define cpp-rto-v
|
||||
#(#f 56 56 55 55 54 54 53 53 52 52 51 51 50 50 50 49 49 49 49 49 48 48 48
|
||||
47 47 47 46 46 46 46 45 45 45 45 45 45 45 44 44 44 43 43 43 43 43 43 43 43
|
||||
43 43 43 42 42))
|
||||
|
||||
(define cpp-pat-v
|
||||
#(((8 . 1) (4 . 2) (6 . 3) (9 . 4) (10 . 5) (11 . 6) (12 . 7) (13 . 8)
|
||||
(14 . 9) (15 . 10) (43 . 11) (16 . 12) (17 . 13) (18 . 14) (19 . 15)
|
||||
(24 . 16) (23 . 17) (44 . 18) (45 . 19) (46 . 20) (47 . 21) (48 . 22)
|
||||
(49 . 23) (50 . 24) (51 . 25) (52 . 26) (53 . 27) (54 . 28) (55 . 29)
|
||||
(56 . 30)) ((8 . 1) (4 . 2) (6 . 3) (9 . 4) (10 . 5) (11 . 6) (12 . 7)
|
||||
(13 . 8) (14 . 9) (15 . 10) (43 . 11) (16 . 12) (17 . 13) (18 . 14)
|
||||
(19 . 15) (24 . 16) (23 . 17) (44 . 18) (45 . 19) (46 . 20) (47 . 21)
|
||||
(48 . 22) (49 . 23) (50 . 24) (51 . 25) (52 . 26) (53 . 27) (54 . 28)
|
||||
(55 . 29) (56 . 62) (42 . 63)) ((8 . 61)) ((8 . 60)) ((8 . 58) (15 . 59))
|
||||
((1 . -46)) ((1 . -45)) ((1 . -44)) ((1 . -43)) ((1 . -42)) ((1 . -41))
|
||||
((1 . -38)) ((8 . 1) (4 . 2) (6 . 3) (9 . 4) (10 . 5) (11 . 6) (12 . 7)
|
||||
(13 . 8) (14 . 9) (15 . 10) (43 . 11) (16 . 12) (17 . 13) (18 . 14)
|
||||
(19 . 15) (24 . 16) (23 . 17) (44 . 18) (45 . 57)) ((8 . 1) (4 . 2)
|
||||
(6 . 3) (9 . 4) (10 . 5) (11 . 6) (12 . 7) (13 . 8) (14 . 9) (15 . 10)
|
||||
(43 . 11) (16 . 12) (17 . 13) (18 . 14) (19 . 15) (24 . 16) (23 . 17)
|
||||
(44 . 18) (45 . 56)) ((8 . 1) (4 . 2) (6 . 3) (9 . 4) (10 . 5) (11 . 6)
|
||||
(12 . 7) (13 . 8) (14 . 9) (15 . 10) (43 . 11) (16 . 12) (17 . 13)
|
||||
(18 . 14) (19 . 15) (24 . 16) (23 . 17) (44 . 18) (45 . 55)) ((8 . 1)
|
||||
(4 . 2) (6 . 3) (9 . 4) (10 . 5) (11 . 6) (12 . 7) (13 . 8) (14 . 9)
|
||||
(15 . 10) (43 . 11) (16 . 12) (17 . 13) (18 . 14) (19 . 15) (24 . 16)
|
||||
(23 . 17) (44 . 18) (45 . 54)) ((8 . 1) (4 . 2) (6 . 3) (9 . 4) (10 . 5)
|
||||
(11 . 6) (12 . 7) (13 . 8) (14 . 9) (15 . 10) (43 . 11) (16 . 12) (17 . 13
|
||||
) (18 . 14) (19 . 15) (24 . 16) (23 . 17) (44 . 18) (45 . 53)) ((8 . 1)
|
||||
(4 . 2) (6 . 3) (9 . 4) (10 . 5) (11 . 6) (12 . 7) (13 . 8) (14 . 9)
|
||||
(15 . 10) (43 . 11) (16 . 12) (17 . 13) (18 . 14) (19 . 15) (24 . 16)
|
||||
(23 . 17) (44 . 18) (45 . 52)) ((17 . 50) (16 . 51) (1 . -31)) ((1 . -27))
|
||||
((22 . 47) (21 . 48) (20 . 49) (1 . -24)) ((24 . 45) (23 . 46) (1 . -21))
|
||||
((26 . 43) (25 . 44) (1 . -16)) ((30 . 39) (29 . 40) (28 . 41) (27 . 42)
|
||||
(1 . -13)) ((32 . 37) (31 . 38) (1 . -11)) ((33 . 36) (1 . -9)) ((34 . 35)
|
||||
(1 . -7)) ((35 . 34) (1 . -5)) ((36 . 33) (1 . -3)) ((39 . 31) (37 . 32)
|
||||
(1 . -1)) ((41 . 0)) ((8 . 1) (4 . 2) (6 . 3) (9 . 4) (10 . 5) (11 . 6)
|
||||
(12 . 7) (13 . 8) (14 . 9) (15 . 10) (43 . 11) (16 . 12) (17 . 13)
|
||||
(18 . 14) (19 . 15) (24 . 16) (23 . 17) (44 . 18) (45 . 19) (46 . 20)
|
||||
(47 . 21) (48 . 22) (49 . 23) (50 . 24) (51 . 25) (52 . 26) (53 . 27)
|
||||
(54 . 28) (55 . 87)) ((8 . 1) (4 . 2) (6 . 3) (9 . 4) (10 . 5) (11 . 6)
|
||||
(12 . 7) (13 . 8) (14 . 9) (15 . 10) (43 . 11) (16 . 12) (17 . 13)
|
||||
(18 . 14) (19 . 15) (24 . 16) (23 . 17) (44 . 18) (45 . 19) (46 . 20)
|
||||
(47 . 21) (48 . 22) (49 . 23) (50 . 24) (51 . 25) (52 . 26) (53 . 27)
|
||||
(54 . 86)) ((8 . 1) (4 . 2) (6 . 3) (9 . 4) (10 . 5) (11 . 6) (12 . 7)
|
||||
(13 . 8) (14 . 9) (15 . 10) (43 . 11) (16 . 12) (17 . 13) (18 . 14)
|
||||
(19 . 15) (24 . 16) (23 . 17) (44 . 18) (45 . 19) (46 . 20) (47 . 21)
|
||||
(48 . 22) (49 . 23) (50 . 24) (51 . 25) (52 . 26) (53 . 85)) ((8 . 1)
|
||||
(4 . 2) (6 . 3) (9 . 4) (10 . 5) (11 . 6) (12 . 7) (13 . 8) (14 . 9)
|
||||
(15 . 10) (43 . 11) (16 . 12) (17 . 13) (18 . 14) (19 . 15) (24 . 16)
|
||||
(23 . 17) (44 . 18) (45 . 19) (46 . 20) (47 . 21) (48 . 22) (49 . 23)
|
||||
(50 . 24) (51 . 25) (52 . 84)) ((8 . 1) (4 . 2) (6 . 3) (9 . 4) (10 . 5)
|
||||
(11 . 6) (12 . 7) (13 . 8) (14 . 9) (15 . 10) (43 . 11) (16 . 12) (17 . 13
|
||||
) (18 . 14) (19 . 15) (24 . 16) (23 . 17) (44 . 18) (45 . 19) (46 . 20)
|
||||
(47 . 21) (48 . 22) (49 . 23) (50 . 24) (51 . 83)) ((8 . 1) (4 . 2)
|
||||
(6 . 3) (9 . 4) (10 . 5) (11 . 6) (12 . 7) (13 . 8) (14 . 9) (15 . 10)
|
||||
(43 . 11) (16 . 12) (17 . 13) (18 . 14) (19 . 15) (24 . 16) (23 . 17)
|
||||
(44 . 18) (45 . 19) (46 . 20) (47 . 21) (48 . 22) (49 . 23) (50 . 82))
|
||||
((8 . 1) (4 . 2) (6 . 3) (9 . 4) (10 . 5) (11 . 6) (12 . 7) (13 . 8)
|
||||
(14 . 9) (15 . 10) (43 . 11) (16 . 12) (17 . 13) (18 . 14) (19 . 15)
|
||||
(24 . 16) (23 . 17) (44 . 18) (45 . 19) (46 . 20) (47 . 21) (48 . 22)
|
||||
(49 . 81)) ((8 . 1) (4 . 2) (6 . 3) (9 . 4) (10 . 5) (11 . 6) (12 . 7)
|
||||
(13 . 8) (14 . 9) (15 . 10) (43 . 11) (16 . 12) (17 . 13) (18 . 14)
|
||||
(19 . 15) (24 . 16) (23 . 17) (44 . 18) (45 . 19) (46 . 20) (47 . 21)
|
||||
(48 . 22) (49 . 80)) ((8 . 1) (4 . 2) (6 . 3) (9 . 4) (10 . 5) (11 . 6)
|
||||
(12 . 7) (13 . 8) (14 . 9) (15 . 10) (43 . 11) (16 . 12) (17 . 13)
|
||||
(18 . 14) (19 . 15) (24 . 16) (23 . 17) (44 . 18) (45 . 19) (46 . 20)
|
||||
(47 . 21) (48 . 79)) ((8 . 1) (4 . 2) (6 . 3) (9 . 4) (10 . 5) (11 . 6)
|
||||
(12 . 7) (13 . 8) (14 . 9) (15 . 10) (43 . 11) (16 . 12) (17 . 13)
|
||||
(18 . 14) (19 . 15) (24 . 16) (23 . 17) (44 . 18) (45 . 19) (46 . 20)
|
||||
(47 . 21) (48 . 78)) ((8 . 1) (4 . 2) (6 . 3) (9 . 4) (10 . 5) (11 . 6)
|
||||
(12 . 7) (13 . 8) (14 . 9) (15 . 10) (43 . 11) (16 . 12) (17 . 13)
|
||||
(18 . 14) (19 . 15) (24 . 16) (23 . 17) (44 . 18) (45 . 19) (46 . 20)
|
||||
(47 . 21) (48 . 77)) ((8 . 1) (4 . 2) (6 . 3) (9 . 4) (10 . 5) (11 . 6)
|
||||
(12 . 7) (13 . 8) (14 . 9) (15 . 10) (43 . 11) (16 . 12) (17 . 13)
|
||||
(18 . 14) (19 . 15) (24 . 16) (23 . 17) (44 . 18) (45 . 19) (46 . 20)
|
||||
(47 . 21) (48 . 76)) ((8 . 1) (4 . 2) (6 . 3) (9 . 4) (10 . 5) (11 . 6)
|
||||
(12 . 7) (13 . 8) (14 . 9) (15 . 10) (43 . 11) (16 . 12) (17 . 13)
|
||||
(18 . 14) (19 . 15) (24 . 16) (23 . 17) (44 . 18) (45 . 19) (46 . 20)
|
||||
(47 . 75)) ((8 . 1) (4 . 2) (6 . 3) (9 . 4) (10 . 5) (11 . 6) (12 . 7)
|
||||
(13 . 8) (14 . 9) (15 . 10) (43 . 11) (16 . 12) (17 . 13) (18 . 14)
|
||||
(19 . 15) (24 . 16) (23 . 17) (44 . 18) (45 . 19) (46 . 20) (47 . 74))
|
||||
((8 . 1) (4 . 2) (6 . 3) (9 . 4) (10 . 5) (11 . 6) (12 . 7) (13 . 8)
|
||||
(14 . 9) (15 . 10) (43 . 11) (16 . 12) (17 . 13) (18 . 14) (19 . 15)
|
||||
(24 . 16) (23 . 17) (44 . 18) (45 . 19) (46 . 73)) ((8 . 1) (4 . 2)
|
||||
(6 . 3) (9 . 4) (10 . 5) (11 . 6) (12 . 7) (13 . 8) (14 . 9) (15 . 10)
|
||||
(43 . 11) (16 . 12) (17 . 13) (18 . 14) (19 . 15) (24 . 16) (23 . 17)
|
||||
(44 . 18) (45 . 19) (46 . 72)) ((8 . 1) (4 . 2) (6 . 3) (9 . 4) (10 . 5)
|
||||
(11 . 6) (12 . 7) (13 . 8) (14 . 9) (15 . 10) (43 . 11) (16 . 12) (17 . 13
|
||||
) (18 . 14) (19 . 15) (24 . 16) (23 . 17) (44 . 18) (45 . 71)) ((8 . 1)
|
||||
(4 . 2) (6 . 3) (9 . 4) (10 . 5) (11 . 6) (12 . 7) (13 . 8) (14 . 9)
|
||||
(15 . 10) (43 . 11) (16 . 12) (17 . 13) (18 . 14) (19 . 15) (24 . 16)
|
||||
(23 . 17) (44 . 18) (45 . 70)) ((8 . 1) (4 . 2) (6 . 3) (9 . 4) (10 . 5)
|
||||
(11 . 6) (12 . 7) (13 . 8) (14 . 9) (15 . 10) (43 . 11) (16 . 12) (17 . 13
|
||||
) (18 . 14) (19 . 15) (24 . 16) (23 . 17) (44 . 18) (45 . 69)) ((1 . -39))
|
||||
((1 . -40)) ((1 . -32)) ((1 . -33)) ((1 . -34)) ((1 . -35)) ((1 . -36))
|
||||
((1 . -37)) ((15 . 68)) ((1 . -48)) ((5 . 67)) ((5 . 66)) ((1 . -52))
|
||||
((7 . 64) (3 . 65)) ((1 . -51)) ((8 . 1) (4 . 2) (6 . 3) (9 . 4) (10 . 5)
|
||||
(11 . 6) (12 . 7) (13 . 8) (14 . 9) (15 . 10) (43 . 11) (16 . 12) (17 . 13
|
||||
) (18 . 14) (19 . 15) (24 . 16) (23 . 17) (44 . 18) (45 . 19) (46 . 20)
|
||||
(47 . 21) (48 . 22) (49 . 23) (50 . 24) (51 . 25) (52 . 26) (53 . 27)
|
||||
(54 . 28) (55 . 29) (56 . 92)) ((7 . 91)) ((7 . 90)) ((7 . 89)) ((1 . -30)
|
||||
) ((1 . -29)) ((1 . -28)) ((22 . 47) (21 . 48) (20 . 49) (1 . -26))
|
||||
((22 . 47) (21 . 48) (20 . 49) (1 . -25)) ((24 . 45) (23 . 46) (1 . -23))
|
||||
((24 . 45) (23 . 46) (1 . -22)) ((26 . 43) (25 . 44) (1 . -20)) ((26 . 43)
|
||||
(25 . 44) (1 . -19)) ((26 . 43) (25 . 44) (1 . -18)) ((26 . 43) (25 . 44)
|
||||
(1 . -17)) ((30 . 39) (29 . 40) (28 . 41) (27 . 42) (1 . -15)) ((30 . 39)
|
||||
(29 . 40) (28 . 41) (27 . 42) (1 . -14)) ((32 . 37) (31 . 38) (1 . -12))
|
||||
((33 . 36) (1 . -10)) ((34 . 35) (1 . -8)) ((35 . 34) (1 . -6)) ((36 . 33)
|
||||
(1 . -4)) ((38 . 88) (37 . 32)) ((8 . 1) (4 . 2) (6 . 3) (9 . 4) (10 . 5)
|
||||
(11 . 6) (12 . 7) (13 . 8) (14 . 9) (15 . 10) (43 . 11) (16 . 12) (17 . 13
|
||||
) (18 . 14) (19 . 15) (24 . 16) (23 . 17) (44 . 18) (45 . 19) (46 . 20)
|
||||
(47 . 21) (48 . 22) (49 . 23) (50 . 24) (51 . 25) (52 . 26) (53 . 27)
|
||||
(54 . 28) (55 . 29) (56 . 93)) ((1 . -47)) ((1 . -49)) ((1 . -50))
|
||||
((1 . -53)) ((1 . -2))))
|
||||
|
||||
(define cpp-tables
|
||||
(list
|
||||
(cons 'mtab cpp-mtab)
|
||||
(cons 'ntab cpp-ntab)
|
||||
(cons 'len-v cpp-len-v)
|
||||
(cons 'rto-v cpp-rto-v)
|
||||
(cons 'pat-v cpp-pat-v)
|
||||
))
|
||||
|
||||
;;; end tables
|
||||
Loading…
Add table
Add a link
Reference in a new issue