package acgtk

  1. Overview
  2. Docs
Abstract Categorial Grammar development toolkit


Dune Dependency






This toolkit provides a compiler and an interpreter for Abstract Categorial Grammars (ACGs). Grammars can be compiled and then used by the interpreter to parse (if the grammar is at most second-order) or to generate terms. See for more details and bibliographic references.

Published: 19 Feb 2024


ACG development toolkit

Copyright 2008-2023 INRIA

More information on "" License: CeCILL, see the LICENSE file or "" Authors: see the AUTHORS file

ACGtk: an ACG development toolkit

ACGtk is a software package (2008-2023 INRIA©) for the development of abstract categorial grammars. This distribution provides two executables: acgc and acg.

It is distributed with the CeCILL license (see the LICENSE file or Contributors are listed in the file.

A list of related publications is available at the ACG web page.


acgc is a "compiler" of ACG source code, i.e., files containing definitions of signatures and lexicons. It basically checks whether they are correctly written (syntactically and w.r.t. types and constant typing) and outputs an .acgo object file.


./acgc --help

to get help.


acg is an interpreter of command meant to be useful when using ACGs. To get a list of command, run


then, on the prompt, type

ACGtk> help

Example files are given in the examples directory. Read the file.

More detailed documentation is available for users and developers.


ACGtk development was supported:

  • By the Langues, Connaissances & Humanités Numériques CPER (contrat de plan État-Région), funded by the Ministère de l'Enseignement Supérieur et de la Recherche, the Région Lorraine, and the Fonds européen de développement régional pour la région Lorraine puis Grand Est (from April 2022 to July 2022).

    Ministère de l'Enseignement Supérieur et de la Recherche    Région    Be Europe en Grand Est

  • By Inria (ADT program, from August 2022 to July 2024).

Dependencies (13)

  1. readline
  2. yojson >= "1.6.0"
  3. cairo2 >= "0.6.4"
  4. sedlex
  5. cmdliner >= "1.1.0"
  6. mtime >= "2.0.0"
  7. logs
  8. fmt
  9. ANSITerminal >= "0.8"
  10. ocamlgraph
  11. menhir >= "20211230"
  12. dune >= "3.5"
  13. ocaml >= "4.14.0"

Dev Dependencies (1)

  1. odoc with-doc

Used by





Innovation. Community. Security.