"Cannot do next-object outside begin/end-scan" print drop ;
: undefined-symbol-error. ( obj -- )
- "The image refers to a library or symbol that was not found"
- " at load time" append print drop ;
+ "The image refers to a library or symbol that was not found at load time"
+ print drop ;
: stack-underflow. ( obj name -- )
write " stack underflow" print drop ;
drop "Not in a vocabulary; IN: form required" ;
M: no-word-error summary
- name>> "No word named ``" "'' found in current vocabulary search path" surround ;
+ name>>
+ "No word named ``"
+ "'' found in current vocabulary search path" surround ;
M: no-word-error error. summary print ;
M: ambiguous-use-error summary
- words>> first name>> "More than one vocabulary defines a word named ``" "''" surround ;
+ words>> first name>>
+ "More than one vocabulary defines a word named ``" "''" surround ;
M: ambiguous-use-error error. summary print ;
{
{ [ os windows? ] [ "debugger.windows" require ] }
{ [ os unix? ] [ "debugger.unix" require ] }
-} cond
\ No newline at end of file
+} cond
+USING: combinators kernel math parser sequences splitting ;
IN: porter-stemmer
-USING: kernel math parser sequences combinators splitting ;
: consonant? ( i str -- ? )
2dup nth dup "aeiou" member? [