kaya (1) - Linux Manuals
kaya: Top-level interpreter for the kaya language
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 | / / _` | || / _` | 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
- A list of extra paths to search for kaya libraries. Paths are separated by ':' on Posix systems, and ';' on Windows.
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>
Please report bugs found to <kaya [at] kayalang.org>
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.