Module cuneiform_shell

Copyright © 2015-2018 Jörgen Brandt

Version: 0.1.6

Authors: Jörgen Brandt (joergen.brandt@onlinehome.de).

Data Types

reply()

reply() = {query, e()} | {error, stage(), term()} | {parrot, e(), t()}

Function Index

brace_level/2
process_reply_lst/3
shell/1Starts an interactive shell by connecting to a Cuneiform client process.
shell_eval_oneshot/1

Function Details

brace_level/2

brace_level(TokenLst, L) -> integer()

process_reply_lst/3

process_reply_lst(ReplyLst, ClientName, Verbosity) -> ok

shell/1

shell(ClientName::term()) -> ok

Starts an interactive shell by connecting to a Cuneiform client process.

Given a Cuneiform client process running under the process id ClientName this function starts an interactive shell, printing the Cuneiform banner on the screen and interacting with the user via the standard input and standard output channels. When the user types quit the function returns ok no matter how many commands were executed or whether they were successful.

shell_eval_oneshot/1

shell_eval_oneshot(Input) -> [reply()]


Generated by EDoc