... | @@ -12,22 +12,23 @@ Unless -p was specified, then it prints out the last evaluated expression and qu |
... | @@ -12,22 +12,23 @@ Unless -p was specified, then it prints out the last evaluated expression and qu |
|
|
|
|
|
## usage
|
|
## usage
|
|
|
|
|
|
iat `[`[file](options]`)` `[## Options
|
|
`iat [options] [file] [arguments]`
|
|
|
|
|
|
|
|
| flag | description |
|
|
|
|
| -------------- | ----------- |
|
|
|
|
| *-i*, *--init* | init-file: specifies which file to load as the preamble of the language (the content of this file is evaluated in the context of the global lexical root). The default initiatisation code file is located at ''at/init/init.at''. This is useful for defining your own "language extensions". |
|
|
|
|
| *-o*, *--objectpath* | specifies the objectpath, a list of 'name=directory' pairs separated by ':' (UNIX/Mac) or ';' (Windows) which bind global namespace names to the necessary libraries. The **objectpath** is for AmbientTalk what the classpath is for Java. For each 'name=directory' pair, a slot named ''name'' is added to the global ''lobby'' object, bound to a namespace pointing to the given directory. Hence, evaluating ''lobby.name.foo'' in AmbientTalk enables access to the file ''directory/foo.at''. Thanks to the objectpath, AmbientTalk programs remain free of absolute path names when loading other AmbientTalk files. If this option is present, any setting of the environment variable `AT_OBJECTPATH` is ignored. |
|
|
|
|
| *-e*, *--eval* | codestring: evaluates the given codestring and ignores the filename. |
|
|
|
|
| *-p*, *--print* | print value of last evaluated expression, then quit instead of entering REPL. |
|
|
|
|
| *-n*, *--network* | specify the name of the overlay network to join. Only AmbientTalk VMs started using the same name will be discoverable and will be able to discover this VM. This is primarily useful for debugging or demo purposes, if you don't want other programs to interfere. |
|
|
|
|
| *-a*, *--ip* | specify the ip address used for service discovery |
|
|
|
|
| *-h*, *--help* | display help, then quit |
|
|
|
|
| *-v*, *--version* | display version information, then quit |
|
|
|
|
| *-q*, *--quiet* | quiet mode - don't print welcome message or any prompts |
|
|
|
|
| *-j*, *--nojline* | disables [http://jline.sourceforge.net JLine](arguments]`) support, useful on platforms that do not support this library such as Android. |
|
|
|
|
| **-d**, **--Xdebug** | enables debugging support for all actors created within this AmbientTalk virtual machine. |
|
|
|
|
| **-l**, **--log** | specifies the logging priorities for the interpreter execution. Similar to -o option it expects a list of 'loggerName=priority' pairs separated by ':' (UNIX/Mac) or ';' (Windows), where priority is one of DEBUG, WARN, INFO, ERROR, FATAL and logName is one of `at.eventloops`, `at.eventloops.actors`, `at.eventloops.remoterefs`, `at.eventloops.vm`, `at.init`, `at.network`. If 'all' is used as loggerName, the given priority is used for all logs in the system. In absence of this command line parameter, the logging support is initialized with the priorities stored in the `logging.props` file. As a usage example consider 'iat -l all=FATAL:at.network=WARN' where all logs are set to FATAL except for `at.network`which is set to WARN |
|
|
|
|
|
|
<table>
|
|
|
|
<tr><td>*-i*, *--init*</td><td>init-file: specifies which file to load as the preamble of the language (the content of this file is evaluated in the context of the global lexical root). The default initiatisation code file is located at ''at/init/init.at''. This is useful for defining your own "language extensions".</td></tr>
|
|
|
|
<tr><td>*-o*, *--objectpath*</td><td>specifies the objectpath, a list of 'name=directory' pairs separated by ':' (UNIX/Mac) or ';' (Windows) which bind global namespace names to the necessary libraries. The **objectpath** is for AmbientTalk what the classpath is for Java. For each 'name=directory' pair, a slot named ''name'' is added to the global ''lobby'' object, bound to a namespace pointing to the given directory. Hence, evaluating ''lobby.name.foo'' in AmbientTalk enables access to the file ''directory/foo.at''. Thanks to the objectpath, AmbientTalk programs remain free of absolute path names when loading other AmbientTalk files. If this option is present, any setting of the environment variable `AT_OBJECTPATH` is ignored.</td></tr>
|
|
|
|
<tr><td>*-e*, *--eval*</td><td>codestring: evaluates the given codestring and ignores the filename.</td></tr>
|
|
|
|
<tr><td>*-p*, *--print*</td><td>print value of last evaluated expression, then quit instead of entering REPL.</td></tr>
|
|
|
|
<tr><td>*-n*, *--network*</td><td>specify the name of the overlay network to join. Only AmbientTalk VMs started using the same name will be discoverable and will be able to discover this VM. This is primarily useful for debugging or demo purposes, if you don't want other programs to interfere.</td></tr>
|
|
|
|
<tr><td>*-a*, *--ip*</td><td>specify the ip address used for service discovery</td></tr>
|
|
|
|
<tr><td>*-h*, *--help*</td><td>display help, then quit</td></tr>
|
|
|
|
<tr><td>*-v*, *--version*</td><td>display version information, then quit</td></tr>
|
|
|
|
<tr><td>*-q*, *--quiet*</td><td>quiet mode - don't print welcome message or any prompts</td></tr>
|
|
|
|
<tr><td>*-j*, *--nojline*</td><td>disables [http://jline.sourceforge.net JLine](arguments]`) support, useful on platforms that do not support this library such as Android.</td></tr>
|
|
|
|
<tr><td>**-d**, **--Xdebug**</td><td>enables debugging support for all actors created within this AmbientTalk virtual machine.</td></tr>
|
|
|
|
<tr><td>**-l**, **--log**</td><td>specifies the logging priorities for the interpreter execution. Similar to -o option it expects a list of 'loggerName=priority' pairs separated by ':' (UNIX/Mac) or ';' (Windows), where priority is one of DEBUG, WARN, INFO, ERROR, FATAL and logName is one of `at.eventloops`, `at.eventloops.actors`, `at.eventloops.remoterefs`, `at.eventloops.vm`, `at.init`, `at.network`. If 'all' is used as loggerName, the given priority is used for all logs in the system. In absence of this command line parameter, the logging support is initialized with the priorities stored in the `logging.props` file. As a usage example consider 'iat -l all=FATAL:at.network=WARN' where all logs are set to FATAL except for `at.network`which is set to WARN</td></tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
## File
|
|
## File
|
|
|
|
|
... | | ... | |