package acgtk

  1. Overview
  2. Docs
Abstract Categorial Grammar development toolkit

Install

dune-project
 Dependency

Authors

Maintainers

Sources

acg-2.2.0-20251107.tar.gz
sha512=07f391d052090bb70c10ec511fdc53af764954cbe1c30093778984c5ed41a4327573fdac0890c6fd619ff9827725572eb7b8a7545bd8ccb7f5bddb84d2d7f7cc

doc/acgtk.logic/Logic/index.html

Module LogicSource

Sourcemodule Abstract_syntax : sig ... end

This modules implements the abstract syntax and the build function for the signatures

Sourcemodule Expand : sig ... end

This module implements the expand algorithm of Makoto Kanazawa's article "Parsing and generation as Datalog query evaluation" to deal with almost linear grammars.

Sourcemodule Lambda : sig ... end

This module implements basic operations on lambda terms. It uses de Bruijn indices.

Sourcemodule TypeInference : sig ... end
Sourcemodule VarUnionFind : sig ... end

Modules with this module type should provide Union-Find algorithms and the indexed storage data structure. Note that we take the opportunity of implementing from scratch such algorithms to allow the find function returns not only the index of the representative and the values it indexes, but also the storage data structure, so that the find algorithm can modify it, in particular with path compression.