tau-prolog-dict
TypeScript icon, indicating that this package has built-in type declarations

0.0.8 • Public • Published

library(dict)

Adds a dictionary type to Tau Prolog based on SWI Prolog's dictionary type.

Experimental.

Predicates

Supports most of the same predicates as SWI. Does not support functional syntax.

Note that this package doesn't support the tag{} syntax for dictionaries. You have to use dict_create/3 to make one.

See: https://www.swi-prolog.org/pldoc/man?section=ext-dict-predicates

atom_json_dict/3

Transforms dictionaries to JSON atoms and vice versa. Options aren't supported yet.

See: https://www.swi-prolog.org/pldoc/doc_for?object=atom_json_dict/3

Readme

Keywords

Package Sidebar

Install

npm i tau-prolog-dict

Weekly Downloads

1

Version

0.0.8

License

BSD-2-Clause

Unpacked Size

50.9 kB

Total Files

6

Last publish

Collaborators

  • guregu