DIM2 ;SFISC/XAK,GFT,TOAD-FileMan: M Syntax Checker, Exprs ;6JUN2012
Source file <DIM2.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
PAT | ; "?": pattern match (GG^DIM1)
|
|
SUB | ; "(": open paren situations (GG^DIM1)
|
|
ERR | ||
GLO | ; "^": global reference (GG^DIM1)
|
|
PATTERN | ||
INTLIT | ||
DATA | ; glvn arguments of $D,$G,$NA,$O, & $Q functions (FUNC^DIM1)
|
|
MTHOP | ; math or relational operator (GG^DIM1)
|
|
STRLIT | ||
1 | ; common exit point for all of ^DIM2
|
|
REPCOUNT | ;
|
|
SEL | ; ":": $SELECT delimiter (GG^DIM1)
|
|
UNOP | ; unary operator (GG^DIM1)
|
|
FINISH | ||
Q | ||
ALTRN8 | ||
AR | ; ",": comma situations -- "P" below means "parameters" (GG^DIM1)
|
|
VAR | ; variables encountered while parsing exprs (DATA, GG^DIM1)
|
|
BINOP | ; binary operator (GG^DIM1)
|
|
PATCODE | ||
UP | ; ")": close paren situations (GG^DIM1)
|
|
PATATOM | ||
OPCHK | ; ensure that the characters before and after the operator are OK
|
|
IND | ; "@": indirection (GG^DIM1)
|
Name | Line Occurrences |
---|---|
%INC | GLO+1, PAT+1, PATATOM+1, REPCOUNT+3, INTLIT+1, STRLIT, PATCODE+1, ALTRN8+1, ALTRN8+2, ALTRN8+4 , DATA+1, VAR+2 |
1 | SUB+6, UP+11, AR+5, SEL+1, GLO+3, PAT+1, OPCHK+8 |
ALTRN8 | PATATOM+2 |
DATA | DATA+1 |
ERR | SUB+3, UP+1, UP+2, UP+3, UP+4, UP+10, AR+1, AR+2, AR+3, AR+4 , SEL+1, GLO+1, GLO+2, PAT+1, IND+1, OPCHK+2, OPCHK+3, OPCHK+5, OPCHK+6, OPCHK+7 , DATA+1, DATA+2, FINISH |
INTLIT | REPCOUNT+2, REPCOUNT+5 |
OPCHK | BINOP+1, MTHOP+1, UNOP+3, IND+2 |
PATATOM | PATTERN, ALTRN8+1, ALTRN8+2 |
PATCODE | PATATOM+3 |
PATTERN | PAT+1 |
REPCOUNT | PATATOM |
STRLIT | PATATOM+1 |
VAR | DATA+1 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
% | SUB+1, SUB+2, SUB+5, UP+2, UP+3, AR+2, AR+4, GLO+1, GLO+2, PAT+1 , REPCOUNT+2, REPCOUNT+4, STRLIT, OPCHK+1, OPCHK+4, VAR+1, VAR+3, VAR+5, VAR+10, VAR+11 , VAR+12, %INC, FINISH! |
%( | SUB+5*, SUB+6*, UP+2, UP+4*, UP+5, UP+8, UP+9!, UP+10, AR+2, AR+3 , AR+5*, SEL+1*, VAR+7 |
%C | GLO+1, PATTERN, PATATOM+1, PATATOM+2, REPCOUNT+1, REPCOUNT+2, REPCOUNT+3, REPCOUNT+4, INTLIT, INTLIT+1 , STRLIT, STRLIT+1, PATCODE, PATCODE+1, ALTRN8, ALTRN8+2, ALTRN8+3, UNOP+2, OPCHK+1, OPCHK+2 , OPCHK+4, OPCHK+7, DATA+1, DATA+2, VAR+2, VAR+3*, VAR+4, VAR+5, VAR+6, VAR+7 , VAR+9, %INC*, FINISH! |
>> %C1 | SUB+1*, SUB+2*, SUB+3, SUB+5 |
>> %COM | IND+1 |
>> %ERR | UP+4, UP+6*, UP+7*, UP+8*, PAT+1, PATTERN, PATATOM, PATATOM+1, REPCOUNT+1*, REPCOUNT+2 , REPCOUNT+4*, INTLIT*, STRLIT+1*, PATCODE*, ALTRN8*, ALTRN8+1, ALTRN8+2, ALTRN8+3*, DATA+2, VAR+6* , VAR+7*, VAR+8, VAR+11*, VAR+12*, ERR* |
%F | UP+4*, UP+5*, UP+6, UP+7, UP+10, OPCHK+4*, VAR+10*, VAR+11, VAR+12, FINISH! |
%F1 | UP+5*, UP+6, UP+7, FINISH! |
%FN | FINISH! |
%FZ | FINISH! |
%I | SUB+1, SUB+2, UP+2, UP+3, AR+2, GLO+1, GLO+2, GLO+3*, PAT+1*, REPCOUNT+2 , REPCOUNT+4, STRLIT*, OPCHK+1, OPCHK+4*, VAR+1, VAR+3, VAR+9*, VAR+10, VAR+12, VAR+13* , %INC*, FINISH! |
%J | SUB+1*, SUB+2, SUB+5, VAR+3*, VAR+5, VAR+9, VAR+10, VAR+11, VAR+12, VAR+13 , FINISH! |
%L1 | OPCHK+1*, OPCHK+2, OPCHK+3, OPCHK+7, FINISH! |
%L2 | OPCHK+1*, OPCHK+4*, OPCHK+5, OPCHK+6, OPCHK+7, FINISH! |
%N | SUB+5, SUB+6*, UP+1, UP+2, UP+4*, UP+5, UP+8, UP+9, UP+10, AR+1 , AR+2, AR+3, AR+5, SEL+1, VAR+7, ERR*, FINISH! |
%START | VAR+1~*, VAR+5 |
%T | FINISH! |
%Z1 | BINOP+1*, MTHOP+1*, UNOP+1*, IND+2*, OPCHK+3, FINISH! |
%Z2 | BINOP+1*, MTHOP+1*, UNOP+2*, IND+2*, OPCHK+6, FINISH! |
FROM | REPCOUNT+2~*, REPCOUNT+4 |
OUT | VAR+3~*, VAR+4*, VAR+5*, VAR+7* |