update readline instructions in README, dependence on readline_rs_compat with new library search paths

This commit is contained in:
Mark Thom
2019-03-17 19:22:36 -06:00
parent 9471a07ffa
commit cd683c7f3d
2 changed files with 18 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "scryer-prolog" name = "scryer-prolog"
version = "0.8.10" version = "0.8.11"
authors = ["Mark Thom <markjordanthom@gmail.com>"] authors = ["Mark Thom <markjordanthom@gmail.com>"]
repository = "https://github.com/mthom/scryer-prolog" repository = "https://github.com/mthom/scryer-prolog"
description = "A modern Prolog implementation written mostly in Rust." description = "A modern Prolog implementation written mostly in Rust."
@@ -11,7 +11,7 @@ downcast = "0.9.1"
num = "0.2" num = "0.2"
ordered-float = "0.5.0" ordered-float = "0.5.0"
prolog_parser = "0.8.1" prolog_parser = "0.8.1"
readline_rs_compat = "0.1.4" readline_rs_compat = "0.1.5"
[dependencies.termion] [dependencies.termion]
version = "1.4.0" version = "1.4.0"

View File

@@ -101,18 +101,25 @@ $> cargo install scryer-prolog
``` ```
cargo will download and install the libraries Scryer Prolog uses cargo will download and install the libraries Scryer Prolog uses
automatically, save for the C library readline. It will search the automatically, save for the C library readline. The
system library paths for readline without taking further steps to `readline_rs_compat` crate on which Scryer depends (and which is built
install it if it is not found. and maintained by myself) will search the following library paths for
readline:
```
/lib
/usr/lib
/usr/local/lib
/lib/x86_64-linux-gnu
/opt/local/lib
```
You can find the `scryer-prolog` executable in `~/.cargo/bin`. You can find the `scryer-prolog` executable in `~/.cargo/bin`.
Note on compatibility: Scryer Prolog should work on Linux, Mac OS X, and Note on compatibility: Scryer Prolog should work on Linux, Mac OS X,
FreeBSD. Windows support hinges on the Termion library working in and BSD variants on which Rust runs. Windows support hinges on
Windows terminals, which isn't yet the case, although work is readline and Termion being fully functional in that environment, which
underway. See the relevant Termion to my knowledge is not currently the case.
[issue](https://github.com/ticki/termion/issues/103) for more
information.
## Built-in predicates ## Built-in predicates