[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Teyjus is composed of four executable files, each of which serves a different purpose.
4.1 Invoking tjsim | How to use `tjsim'. | |
4.2 Invoking tjcc | How to use `tjcc'. | |
4.3 Invoking tjdis | How to use `tjdis'. | |
4.4 Invoking teyjus | How to use `teyjus'. | |
4.5 Environment | Environment variables. |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
`tjsim' implements a simulator for the Teyjus abstract machine. It includes support for loading modules and solving queries against them. These queries may be specified at the command line or interactively.
`tjsim' is invoked as follows:
tjsim [-v|--version] [-h|--help] [-p|--path PATH]* [-s|--solve "QUERY."]* [-e|--expect NUM] [-m|--maximum NUM] [-q|--quiet] [-b|--batch] [-k|--heap HEAPSIZE] [module] |
The following options are supported:
Return the system version
Print this message
Add PATH to the search path for modules. Several paths may be specified.
Solve the given query on startup. Several queries may be specified with separate -solve tags.
Expect at least this many responses from each query; error if fewer. Valid only in batch mode.
Halt after this many solutions to the query have been found. Valid only in batch mode.
Suppress all non-error output from the system, except variable bindings on query success.
Suppress system interaction; send all output without stopping.
Allocate a heap of the given size (K) with malloc; no effect if using mmap.
Name of the module against which queries should be solved.
The -expect and -maximum flags are used for testing the system, but may also be useful to users.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
`tjcc' is the bytecode compiler for Teyjus. As with most compilers, it is not interactive. It compiles a file specified on the command line and displays a record of any errors encountered.
`tjcc' is invoked as follows:
tjcc [-v|--version] [-h|--help] [-p|--path PATH]* [-o|--output FILENAME] |
Return the system version
Print this message
Add PATH to the search path for modules. Several paths may be specified.
Specifies the name of the output bytecode file.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
`tjdis' is the bytecode disassembler for Teyjus. It displays, in human-readable format, all of the information contained in an Teyjus bytecode file. No interaction is available.
`tjdis' is invoked as follows:
tjdis [-v|--version] [-h|--help] [-t|--tables] [-i|--instr] filename |
Return the system version.
Print this message.
Only print tables.
Only print instructions.
The full filename of the bytecode to disassemble.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
`teyjus' is an integrated Lambda Prolog development environment. It provides support for compiling modules, loading modules, executing queries, and will soon support interactive debugging.
`teyjus' is invoked as follows:
teyjus [-v|--version] [-h|--help] [-p|--path PATH]* [-k|--heap HEAPSIZE] |
The following options are supported:
Return the system version
Print this message
Add PATH to the search path for modules. Several paths may be specified.
Allocate a heap of the given size (K) with malloc; no effect if using mmap.
When `teyjus' is started, it prompts the user to enter a command:
Teyjus> |
The following commands are available:
Print this help message.
Load module MODNAME into core. Several modules may be loaded simultaneously.
Display the search paths.
Add PATH to the search paths.
Query against the top level module. Enter the query "stop." to return to the `teyjus' command line.
Query against module MODNAME. Enter the query "stop." to return to the `teyjus' command line.
Compile the source code specified by SOURCENAME into Lambda Prolog bytecode. File SOURCENAME will be sought in the directories specified by the search paths (see #search).
Compile the source code specified by SOURCENAME into Lambda Prolog bytecode, placing the results into DESTNAME. File SOURCENAME will be sought in the directories specified by the search paths (see #search).
Quit `teyjus'.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
`tjcc', `teyjus', and `tjsim' will read the shell
environment variable TJPATH
at startup. TJPATH
is
interpreted as a colon-separated list of directories in which to search
for files. If the variable TJPATH
is not present, the current
directory (or the directory containing the .mod file in the case of
`tjcc') will be searched by default.
[ << ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated by Gopalan Nadathur on October, 20 2007 using texi2html 1.76.