-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
The goal of this task is to make prolog-programs basically runnable in our browser-environment.
A good starting point for this is the khazuar/tau-prolog-branch, which is already installing the package via npm and importing it into a file containing a wrapper-class, handling basic in- and output.
Open problems:
- how to deal with
writeoperations inside prolog? These seem to go to the javascript-console for now. We'd like to get them as separate result from the VM. - Transform output into something more useable.
- Change the result to a Async Iterator. This should make it possible to deal with non-terminating prolog-programs. fun
- Does the core-library contain all the functions we need for diproche? Are there differences in the behavior of tau-prolog and SWI-prolog?
The final result should contain a few more test-cases to demonstrate that these problems have been solved and how to use them. (Test-cases are wonderful for other programmers as examples).
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request