You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A list of ambiguous conditions that are considered as candidates to convert them into an unambiguous exceptions with assigned throw codes (see also #1) should be developed.
Note: the corresponding new test cases should be also added, if possible.
NB: currently, due to an ambiguous condition, the standard allows s" to parse multi-line string literal; if the standard will require to unconditionally throw an exception in such a case, parsing multi-line string literal will be non-standard. A possible solution (if a quotation mark is not found in the parse area): require to either parse multi-line string, or throw an exception.
A list of ambiguous conditions that are considered as candidates to convert them into an unambiguous exceptions with assigned throw codes (see also #1) should be developed.
Note: the corresponding new test cases should be also added, if possible.
The list of ambiguous condition is provided in the section 4.1.2 Ambiguous conditions.
The list below is under construction, it will be updated right here.
Mandatory
/STRING
when n > u1 (an implicit ambiguous condition exists at the moment);>NUMBER
);-11
"result out of range" (then>number
must be execute bycatch
in recognizers);-13
"undefined word";:
, 15.6.2.2264SYNONYM
, and other defining words);-19
"definition name too long";WORD
, see also 3.3.3.6 Other transient regions, 4.1.2 Ambiguous conditions: "string longer than a counted string returned by 6.1.2450WORD
");-18
"parsed string overflow";-19
"definition name too long";CHAR
, 6.1.2033POSTPONE
, 11.6.2.1714INCLUDE
, and other parsing words; see also 4.1.2 Ambiguous conditions: "unexpected end of input buffer, resulting in an attempt to use a zero-length string as a name");-16
"attempt to use zero-length string as a name";char
— the wordchar
shall not return a random character or a delimiter;S"
, 6.2.2266S\"
, 6.2.0200.(
, 6.1.0080(
);s"
to parse multi-line string literal; if the standard will require to unconditionally throw an exception in such a case, parsing multi-line string literal will be non-standard. A possible solution (if a quotation mark is not found in the parse area): require to either parse multi-line string, or throw an exception.ALSO
, 16.6.2.2037PREVIOUS
, 16.6.1.1180DEFINITIONS
, 16.6.2.1590FORTH
;-50
"search-order underflow";INCLUDED
, 11.6.1.1717INCLUDE-FILE
);-37
"file I/O exception";-70
"READ-FILE";-71
"READ-LINE";-62
"CLOSE-FILE";INCLUDED
);-38
"non-existent file";Implicit ambiguous conditions that should be eliminated
These ambiguous conditions are not mentioned explicitly.
INCLUDE-FILE
,INCLUDED
, etc);empty-buffers
is executed when loading of some block buffer is not completed;ALLOT
,,
(Comma),C,
(C-comma));-8
"dictionary overflow";Feasible
ALSO
, 16.6.1.2197SET-ORDER
;-49
"search-order overflow";WORDLIST
;-8
"dictionary overflow" shall be thrown;- Table 16.2: Environmental Query Strings;
-8
"dictionary overflow";-35
"invalid block number";-35
"invalid block number";DF!
, 12.6.2.1204DF@
, 12.6.2.2202SF!
, 12.6.1.1400F!
, 12.6.1.1470F>D
) — in 12.4.1.2 Ambiguous conditions;Optional
Difficult to implement
(6.2.1850 MARKER, 15.6.2.1580 FORGET);
The text was updated successfully, but these errors were encountered: