1 ! Copyright (C) 2007 Alex Chapman
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: help.markup help.syntax ;
8 { "ch" "A character that has a morse code translation" } { "str" "A string consisting of zero or more dots and dashes" } }
9 { $description "If the given character has a morse code translation, then return that translation, otherwise return an empty string." } ;
13 { "str" "A string of dots and dashes that represents a single character in morse code" } { "ch" "The translated character" } }
14 { $description "If the given string represents a morse code character, then return that character, otherwise return f" } ;
18 { "str" "A string of ASCII characters which can be translated into morse code" } { "str" "A string in morse code" } }
19 { $description "Translates ASCII text into morse code, represented by a series of dots, dashes, and slashes." }
20 { $see-also morse> ch>morse } ;
23 { $values { "str" "A string of morse code, in which the character '.' represents dots, '-' dashes, ' ' spaces between letters, and ' / ' spaces between words." } { "str" "The ASCII translation of the given string" } }
24 { $description "Translates morse code into ASCII text" }
25 { $see-also >morse morse>ch } ;
28 { $values { "str" "A string of ascii characters which can be translated into morse code" } { "unit-length" "The length of a dot" } }
29 { $description "Plays a string as morse code" } ;
32 { $values { "str" "A string of ascii characters which can be translated into morse code" } }
33 { $description "Plays a string as morse code" } ;