Text preview for : DI.grammar.mesa_Sep78.pdf part of xerox DI.grammar.mesa Sep78 xerox mesa 4.0_1978 listing Mesa_4_Debug DI.grammar.mesa_Sep78.pdf



Back to : DI.grammar.mesa_Sep78.pdf | Home

DI.grammar 2-Sep-78 15:32:14 Page 1



II INPUT II LALR II LISTS II CHAIN
IITABLE1
id
num
lnum
sr
char



+-
+

/
l'

@
I
$
%

INTEGER
CARDINAL
CHARACTER
BOOLEAN
STRING
UNSPECIFIED

MOD
DESCRIPTOR
BASE
LENGTH
SIZE
MEMORY

)
]

(
[

EOF
II TABLE2
goal
typespec
typeid
typeconstruct
stmt1ist
stmt
exp
sum
addop
product
mu1top
factor
primary
buil t incal1
typeop
lhs
qual if ier
interval
explist
II TABLE3
goal ::"0 stmtlist
stmtlist ::=1 stmt
12 stmtlist ; stmt
stmt :: "3 exp
14 lhs +- exp
exp : :-5 sum
sum : : "20 product
121 sum addop product
addop : : a22 +
123
product :: -24 factor
DI.grammar 2-Sep-78 15:32:14 Page 2


125 product multop factor
multop ::-26