Did you know ... | Search Documentation: |
Title for pldoc(dir_index) |
pengines.pl -- Pengines: Web Logic Programming Made Easy | ||
---|---|---|
add_error_details/3 | Add format error code and location information to an error. | |
authentication_hook/3 | This hook is called from the =/pengine/create= HTTP handler to discover whether the server is accessed by an authorized user. | |
current_pengine_application/1 | True when Application is a currently defined application. | |
event_to_json/3 | Hook that translates a Pengine event structure into a term suitable for reply_json_dict/1, according to the language specification Lang. | |
not_sandboxed/2 | This hook is called to see whether the Pengine must be executed in a protected environment. | |
output/2 | Hook to handle pengine_output/1 from the remote pengine. | |
pengine_abort/1 | Aborts the running query. | |
pengine_application/1 | Directive that must be used to declare a pengine application module. | |
pengine_ask/3 | Asks pengine NameOrID a query Query. | |
pengine_create/1 | Creates a new pengine. | |
pengine_debug/2 | Create a message using format/3 from Format and Args and send this to the client. | |
pengine_destroy/1 | Destroys the pengine NameOrID. | |
pengine_destroy/2 | Destroys the pengine NameOrID. | |
pengine_done/0 | Called from the pengine thread at_exit option. | |
pengine_event/2 | Examines the pengine's event queue and if necessary blocks execution until a term that unifies to Term arrives in the queue. | |
pengine_event_loop/2 | Starts an event loop accepting event terms sent to the current pengine or thread. | |
pengine_input/2 | Sends Prompt to the master (parent) pengine and waits for input. | |
pengine_next/2 | Asks pengine NameOrID for the next solution to a query started by pengine_ask/3. | |
pengine_output/1 | Sends Term to the parent pengine or thread. | |
pengine_property/2 | True when Property is a property of the given Pengine. | |
pengine_pull_response/2 | Pulls a response (an event term) from the slave Pengine if Pengine is a remote process, else does nothing at all. | |
pengine_respond/3 | Sends a response in the form of the term Input to a slave (child) pengine that has prompted its master (parent) for input. | |
pengine_rpc/2 | Semantically equivalent to the sequence below, except that the query is executed in (and in the Prolog context of) the pengine server referred to by URL, rather than locally. | |
pengine_rpc/3 | Semantically equivalent to the sequence below, except that the query is executed in (and in the Prolog context of) the pengine server referred to by URL, rather than locally. | |
pengine_self/1 | True if the current thread is a pengine with Id. | |
pengine_stop/2 | Tells pengine NameOrID to stop looking for more solutions to a query started by pengine_ask/3. | |
pengine_user/1 | True when the pengine was create by an HTTP request that authorized User. | |
portray_blob/2 | Portray non-text blobs that may appear in output terms. | |
prepare_goal/3 | Pre-preparation hook for running Goal0. | |
prepare_module/3 | Hook, called to initialize the temporary private module that provides the working context of a pengine. | |
prompt/3 | Hook to handle pengine_input/2 from the remote pengine. | |
write_result/3 | Hook that allows for different output formats. | |
create_pool/1 | On demand creation of a thread pool for a pengine application. | |
pengines_io.pl -- Provide Prolog I/O for HTML clients | ||
binding_term/5 | Hook to render a Prolog result term as HTML. | |
message_lines_to_html/3 | Helper that translates the Lines argument from user:message_hook/3 into an HTML string. | |
pengine_bind_io_to_html/1 | Redefine the built-in predicates for IO to send HTML messages using pengine_output/1. | |
pengine_display/1 | Redirect the corresponding Prolog output predicates. | |
pengine_flush_output/0 | No-op. | |
pengine_format/1 | As format/1,2. | |
pengine_format/2 | As format/1,2. | |
pengine_io_predicate/1 | True when Head describes the head of a (system) IO predicate that is redefined by the HTML binding. | |
pengine_listing/0 | List the content of the current pengine or a specified predicate in the pengine. | |
pengine_listing/1 | List the content of the current pengine or a specified predicate in the pengine. | |
pengine_nl/0 | Emit a <br/> to the pengine. | |
pengine_print/1 | Redirect the corresponding Prolog output predicates. | |
pengine_tab/1 | Emit N spaces. | |
pengine_write/1 | Redirect the corresponding Prolog output predicates. | |
pengine_write_canonical/1 | Redirect the corresponding Prolog output predicates. | |
pengine_write_term/2 | Writes term as <span class=Class>Term</span>. | |
pengine_writeln/1 | Emit Term as <span class=writeln>Term<br></span>. | |
pengine_writeq/1 | Redirect the corresponding Prolog output predicates. | |
send_html/1 | Convert html//1 term into a string and send it to the client using pengine_output/1. | |
show_html_hook/1 | Hook into help/1 to render the help output in the SWISH console. | |
message_hook/3 | Send output from print_message/2 to the pengine. | |
pengines_sandbox.pl -- Declare Pengine interaction sandbox-safe | ||
term_to_json.pl |