Start running Jolog code defined in Module. After
creating the runtime environment, this predicate sends the Main
message. Use that message to trigger the rest
of your application. For example,
main :- % starting point for Prolog
start_jolog(user, go).
go &- % starting point for Jolog
( one_process
& another_process
).
...
start_jolog/2 returns when one of the following is true:
- a message arrives on the halt/0 channel
- no join patterns match and no further progress can be made
Sends a Jolog message to the relevant channel. Message should be a
ground term whose functor indicates the channel and whose arguments
indicate the message. For example, the following are legitimate
messages:
send(hello) % hello/0 channel
send(hello(world)) % hello/1 channel
send(foo(alpha,beta,gamma,delta)) % foo/4 channel