Simple Prolog trace formatter
Project description
# morphine
Simple Prolog trace formatter.
This is a simple wrapper around [swipl](https://www.swi-prolog.org/) tracer. To be more precise morphine creates its own shell and runs `console swipl -s path/to/file -g "leash(-all),trace,start." -t halt ` When output seems like swipl’s tracing morphine formats it.
## Requirements
python 3.5 or higher
swipl
## Installation
`console pip install morphine `
## Usage
`console morphine path/to/prolog/file `
Make sure the file has the predicate start/0 (takes no arguments). Morphine automatically runs this predicate.
### User input
Morphine’s shell can receive and pass to swipl user input.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for morphine_tracer-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4336d72999642ff1f756188b7abbf1220c9c4a3279f36eeaef4992a7f2d87a5e |
|
MD5 | 54ac943908d88ce8a960f25838d0a8e3 |
|
BLAKE2b-256 | 4ce80c319a603425c7304e3175fb082a4d9d1e1ae6f707eb497ef601a34cdcfc |