home *** CD-ROM | disk | FTP | other *** search
INI File | 1990-07-09 | 1.8 KB | 76 lines |
- [SQREC.CNV]
-
- [bracketed comments]
- (()()()(
- ([,(c,(R))):
- (],(R));
- ((^Z),(%t,unclosed comment)(%M));
- (,(R)):
- )) c
-
- [strings enclosed in double quotes]
- (()()()(
- (<'>,(W,<=>)(s,(R))):
- (<">,(W,<=>)(R));
- ((^Z),(%t,unclosed double quote)(%M));
- (,(W,<=>)(R)):
- )) d
-
- [strings enclosed in single quotes]
- (()()()(
- (<">,(W,<=>)(d,(R))):
- (<'>,(W,<=>)(R));
- ((^Z),(%t,unclosed single quote)(%M));
- (,(W,<=>)(R)):
- )) s
-
- [find next left brace, bracket, parenthesis]
- (()()()(
- ([,(c,(R))):
- ((or,<(>,{),<=>);
- ((^Z),(%t,expected left brace or parenthesis)(%M));
- ((or, ,(^)),(if,<=>,(^J),(%W,,.),)(R)):
- (,(R)(%t,extraneous characters)):
- )) l
-
- [expression]
- (()()()(
- (<(>,(W,<=>)(e,(R))):
- (<)>,(W,<=>)(R));
- ((or,@,x,X),(W,<=>(R))(R)):
- ([,(c,(R))):
- ((^Z),(%t,unclosed expression)(%M));
- (<'>,(W,<=>)(s,(R))):
- (<">,(W,<=>)(d,(R))):
- ( ,(if,(R),(IVL/0/9/),(W, <=>)(R))):
- ({,(W,<=>)(p,(l,(R)))):
- ((NOT,(^)),(W,<=>)(R)):
- (,(R)):
- )) e
-
- [program]
- (()()(0)(
- (}..,(W,})(R));
- (<0>..,(W,<0>)(l,(R))):
- (<(>,(W,<=>)(if,(until,(e,(R)),<:f:>,,(R)),(^Z),<<
- >>(%t,unclosed brace)(%M),<=>..)):
- ({,(W,<=>)(if,(until,(p,(l,(R))),<:f:>,,(R)),(^Z),<<
- >>(%t,unclosed brace)(%M),<=>..)):
- )) p
-
- [main]
- ((
- ((or,(IVL/!/~/),(^Z))) f [subroutine name/EOF]
- )(
- ((%r,<8>.REC,<[1]>,<=>,(^Z))) R
- ((%W,<8>.RQC,<=>)) W
- )(8)(
- (<8>.,(if,(%Or,<8>.REC),<>,<<
- >>(%Ow,<8>.RQC)<<
- >>(if,(l,(R)),<(>,(W,<=>)(,(e,(R))),<<
- >><=>,{,(W,<=>)(,(p,(l,(R)))))<<
- >>(%C,<8>.RQC))(,(%C,<8>.REC)));
- (,<=>.):
- ))
-
- [end]