NAMEKaya - Top-level interpreter for the Kaya language
SYNOPSISkaya 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]
DESCRIPTIONkaya is a top-level interpreter for the kaya language. It implements a read-eval-print loop, useful for quick evaluation and testing of functions.
OPTIONSkaya takes the same options as kayac(1) with the same meaning (although not all options are necessarily useful in this context.
DOCUMENTATIONA set of interpreter commands can be obtained by typing :? at the interpreter prompt.
EXAMPLE OF USAGE_ | |____ _ _ _ __ _ Kaya top level, version 0.2.6 | / / _' | || / _' | //kayalang.org/ |_\_\__,_|\_, \__,_| Type :? for help |__/ Kaya> abs(-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), Kaya> :l stdlib/Strings.k Strings> lc("aBcDe") Strings> :q
ENVIRONMENT VARIABLESKAYA_LIBRARY_PATH A list of extra paths to search for kaya libraries. Paths are separated by ':' on Posix systems, and ';' on Windows.
OBTAININGThe latest release of Kaya can be obtained from <//kayalang.org/download>. You can receive announcements of new versions of Kaya by subscribing to the kaya-announce mailing list <//lists.kayalang.org/lists/listinfo/kaya-announce> Development versions can be obtained using darcs(1) from <//kayalang.org/darcs/>
BUGSPlease report bugs found to <email@example.com> kaya does not currently support all features of the Kaya language.
LICENSEkaya 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 ALSOkayac(1) KAYA(1)