File "brainfog"

The predicate execute/[1,2] on the other hand delegates to a virtual machine on the corre-sponding targets JavaScript, Python and Java. To speed up execution logical threads automatically grouped under the hood and then run on physical threads.

This library further adds a GPU backend for the π-WAM via the predicates expedite/[1,2]. Sin-gle GPU threads are usually slower than CPU threads, on the other hand multiple GPU threads saturate at a higher number than CPU threads.

The following brainfog predicates are provided:

execute(G):
execute(G, O):
The predicate succeeds. As a side effect it runs G on a CPU backend for π-WAM. The only side effects consumed or produced by the π-WAM is their input and output. The binary predicate allows specifying hack options.
expedite(G):
expedite(G, O):
The predicate succeeds. As a side effect it runs G on a GPU backend for π-WAM. The only side effects consumed or produced by the π-WAM is their input and output. The binary predicate allows specifying hack options.