Skip to content

Commit

Permalink
Version 1.0.13
Browse files Browse the repository at this point in the history
  • Loading branch information
wouterbeek committed Mar 28, 2021
1 parent 0768778 commit 3782b53
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 1 deletion.
58 changes: 58 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,63 @@
# CHANGELOG

## 1.0.13 (2021-03-28)

This release introduces support for creating simple command-line
interfaces. The SWI-Prolog standard library includes a module called
`optparse`, but is relatively complex and performs many exponential
checks. Also, the here included support library is intended to be
decomposed into reusable parts (e.g., calculating width-delimited text
is part of `string_ext`). The command-line interface support is only
an initial version currently, but the intention is to extended this
over time.

Here follows the full list of changes:

### call_ext

- Renamed `call_bool/2` to `call_boolean/2`. This is more consistent
with the name of the Prolog type `boolean`.

### cli, cli\_arguments, cli\_help, cli\_version

- Added a new module that makes it easy to write CLI tools.

### dcg

- Added `dcg_char//1` for parsing/generating one single character.

- Renamed `dcg_bool//1` to `dcg_pp_boolean//1`. This is more
consistent with the name of the Prolog type `boolean`, and indicates
the pretty-print purpose better.

- Added `dcg_boolean//1` for parsing/generating Boolean values.

- Added `dcg_peek//1` which can be useful for simple debugging.

### dict

- Fixed instantiation `(-, +, ?)` of predicate `dict_get/3`.

### print_ext

- Renamed `call_print_bool/1` to `call_print_boolean/1` and renamed
`print_bool/1` to `print_boolean/1`. These are more consistent with
the name of the Prolog type `boolean`.

### rest-server

- Removed `http_server_init/1`. It is better to use the SWI-Prolog
standard library predicates for initialization an HTTP server
instead.

### string_ext

- Added `max_string_length/2` for calculating the length of the
longest given string.

- Added `message_lines/3` and `words_lines/[3,4]` for generating
width-delimited displays of text.

## 1.0.12 (2021-03-20)

This release introduces many improvements to the `media_type` library,
Expand Down
2 changes: 1 addition & 1 deletion pack.pl
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
name(prolog_library_collection).
packager('Wouter Beek', '[email protected]').
title('Prolog Library Collection').
version('1.0.12').
version('1.0.13').

0 comments on commit 3782b53

Please sign in to comment.