NBS Minimal BASIC Test Programs: Version 2, User's Manual, Issue 500, Part 1 - Issue 570, Part 1U.S. Department of Commerce, National Bureau of Standards, 1980 |
From inside the book
Results 1-5 of 12
Page 9
... syntax . We look at the source code and determine whether or not it obeys all the rules laid down in the standard . These rules are mostly spelled out in the syntax sections of the standard using a variant of Backus - Naur Form ( BNF ) ...
... syntax . We look at the source code and determine whether or not it obeys all the rules laid down in the standard . These rules are mostly spelled out in the syntax sections of the standard using a variant of Backus - Naur Form ( BNF ) ...
Page 10
... syntax checker which could always discover whether or not a program is standard . Unfortunately , such a recognizer could not be written in Minimal BASIC itself and this probably explains why no recognizer to check program conformance ...
... syntax checker which could always discover whether or not a program is standard . Unfortunately , such a recognizer could not be written in Minimal BASIC itself and this probably explains why no recognizer to check program conformance ...
Page 13
... syntax checking and then all the execution , than of an interpreter . There is no requirement , for instance , that error reports precede exception reports . It is the content , rather than the timing , of the message that the standard ...
... syntax checking and then all the execution , than of an interpreter . There is no requirement , for instance , that error reports precede exception reports . It is the content , rather than the timing , of the message that the standard ...
Page 19
... syntax sections , or in the semantics sections . Given a program with a syntactically non - standard construction the processor must either reject the to the user noting the reason for if it accepts the program , it must be accompanied ...
... syntax sections , or in the semantics sections . Given a program with a syntactically non - standard construction the processor must either reject the to the user noting the reason for if it accepts the program , it must be accompanied ...
Page 20
... syntax constraints ) and the second for plausible syntax errors ruled out by the BNF productions . Context - sensitive errors : 1. line number out of strictly ascending order 2 . 3 . 4 . 5 . 6 . line number of zero line - length > 72 ...
... syntax constraints ) and the second for plausible syntax errors ruled out by the BNF productions . Context - sensitive errors : 1. line number out of strictly ascending order 2 . 3 . 4 . 5 . 6 . line number of zero line - length > 72 ...
Common terms and phrases
72 characters 8.4 PROGRAM NUMBER algorithm allowed ANSI ANSI standard argument assignment BASIC Test Programs behavior Computer Science context Control Statements correctly DEF statement division by zero documentation endif error measure error programs ERROR REFS error tests EVALUATION OF NUMERIC Exception Handling EXCEPTION REFS exception report exception tests execution FOR-BLOCKS FOR-STATEMENT functional group GOSUB and RETURN GOTO Implementation Conformance implementation-defined features Informative Tests INPUT exception input-reply internal interpretation keyword language standard LINE-NUMBERS machine infinity Minimal BASIC Test non-fatal exceptions NUMERIC CONSTANTS NUMERIC EXPRESSIONS ON-GOTO operations OPTION BASE pass/fail message passes or fails PBASIC PRINT processor FAILS PROGRAM NUMBER EXCEPTION program output programming language programs test pseudorandom QUOTED STRINGS CONTAINING recovery procedure reply requirements RND FUNCTION rules Science and Technology self-checking semantic significand simple software testing source code specified Standard Capabilities standard program syntax test fails TEST PASSED test system UNDERFLOW USER-DEFINED FUNCTION Version ZERO