Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

kaya(1) [debian man page]

kaya(1) 						      Kaya program reference							   kaya(1)

NAME
Kaya - Top-level interpreter for the kaya language SYNOPSIS
kaya FILE [-L DIRECTORY [-L ...]] [-libdir DIRECTORY [-libdir ...]] [-force] [-nochase] [-noprelude] [-nortchecks] [-noopts] [-htmldocs] [-xmldocs] [-static] [-profile] [-seedkey STRING] [-dumptac] [-dumpraw] [-dumptree] [-dumpsimpl] [-dumpeqns] [-dumpcg] [-dumpdeps] [-keepc] [-showgcc] DESCRIPTION
kaya is a top-level interpreter for the kaya language. It implements a read-eval-print loop, useful for quick evaluation and testing of functions. OPTIONS
kaya takes the same options as kayac(1) with the same meaning (although not all options are necessarily useful in this context. DOCUMENTATION
A set of interpreter commands can be obtained by typing :? at the interpreter prompt. EXAMPLE OF USAGE
_ | |____ _ _ _ __ _ Kaya top level, version 0.2.6 | / / _` | || / _` | http://kayalang.org/ |_\_\__,_|\_, \__,_| Type :? for help |__/ Kaya> abs(-4) Returned (Int): 4 Kaya> putStrLn("foo") foo Kaya> putStrLn(foo) (top level):1:Unknown name:foo Kaya> putStrLn(5) (top level):1:Type error in constant 5; has type Int, expected String Kaya> putStrLn(abs(5)) (top level):1:Type error in application of 'abs'; has type Int(Int), expected String(t6) Kaya> :l stdlib/Strings.k Compiling module Strings Strings> lc("aBcDe") Returned (String): abcde Strings> :q ENVIRONMENT VARIABLES
KAYA_LIBRARY_PATH A list of extra paths to search for kaya libraries. Paths are separated by ':' on Posix systems, and ';' on Windows. OBTAINING
The latest release of Kaya can be obtained from <http://kayalang.org/download>. You can receive announcements of new versions of Kaya by subscribing to the kaya-announce mailing list <http://lists.kayalang.org/lists/listinfo/kaya-announce> Development versions can be obtained using darcs(1) from <http://kayalang.org/darcs/> BUGS
Please report bugs found to <kaya@kayalang.org> kaya does not currently support all features of the Kaya language. LICENSE
kaya is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License (version 2 or any later version) as published by the Free Software Foundation. SEE ALSO
kayac(1) Kaya July 2007 kaya(1)

Check Out this Related Man Page

String::Koremutake(3pm) 				User Contributed Perl Documentation				   String::Koremutake(3pm)

NAME
String::Koremutake - Convert to/from Koremutake Memorable Random Strings SYNOPSIS
use String::Koremutake; my $k = String::Koremutake->new; my $s = $k->integer_to_koremutake(65535); # botretre my $i = $k->koremutake_to_integer('koremutake'); # 10610353957 DESCRIPTION
The String::Koremutake module converts to and from Koremutake Memorable Random Strings. The term "Memorable Random String" was thought up by Sean B. Palmer as a name for those strings like dopynl, glargen, glonknic, spoopwid- dle, and kebble etc. that don't have any conventional sense, but can be used as random identifiers, especially in URIs to keep them persis- tent. See http://infomesh.net/2001/07/MeRS/ Koremutake is a MeRS algorithm which is used by Shorl (http://shorl.com/koremutake.php). As they explain: "It is, in plain language, a way to express any large number as a sequence of syllables. The general idea is that word-sounding pieces of information are a lot easier to remember than a sequence of digits." INTERFACE
new() The new() method is the constructor: integer_to_koremutake($i) The integer_to_koremutake method converts a positive integer to a Koremutake string: my $s = $k->integer_to_koremutake(65535); # botretre koremutake_to_integer($s) The koremutake_to_integer method converts a Koremutake string to the integer it represents: my $i = $k->koremutake_to_integer('koremutake'); # 10610353957 BUGS AND LIMITATIONS
No bugs have been reported. Please report any bugs or feature requests to "bug-String-Koremutake@rt.cpan.org", or through the web interface at <http://rt.cpan.org>. AUTHOR
Leon Brocard "acme@astray.com" LICENCE AND COPYRIGHT
Copyright (c) 2005, Leon Brocard "acme@astray.com". All rights reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.8.8 2006-03-18 String::Koremutake(3pm)
Man Page