Open ruv opened 2 years ago
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.
/STRING
-13
:
SYNONYM
-19
WORD
-18
CHAR
POSTPONE
INCLUDE
-16
char
S"
S\"
.(
(
ALSO
PREVIOUS
DEFINITIONS
FORTH
-50
INCLUDED
INCLUDE-FILE
-37
-70
-71
-62
-38
These ambiguous conditions are not mentioned explicitly.
empty-buffers
ALLOT
,
C,
-8
SET-ORDER
-49
WORDLIST
-35
DF!
DF@
SF!
F!
F>D
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);-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(
);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;-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