---
name: "cg-comp"
section: "1"
platform: "linux"
package: "cg3"
version: "1.5.1-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/cg-comp"
---

# cg-comp(1)

This application is part of ( cg3 ) This tool is part of the CG-3 constraint grammar system: https://edu.visl.dk/cg3.html.

## NAME

cg-comp - This application is part of ( **cg3** )

This tool is part of the CG-3 constraint grammar system: **https://edu.visl.dk/cg3.html**.

## SYNOPSIS

**cg-comp** grammar\_file \[input\_file \[output\_file\]\]

## DESCRIPTION

**cg-comp** is the program used to compile constraint grammars from a text format to a binary format that results in faster load times. It reads the grammar file from **input\_file** and writes output to **output\_file**. The binary grammar files generated can be used in the **[cg-proc(1)](/cg-proc/1.md)** and **[vislcg3(1)](/vislcg3/1.md)** disambiguators.

## SEE ALSO

*cg-proc(1),* *vislcg3(1)*

## BUGS

Email to: Tino Didriksen \<mail@tinodidriksen.com\>

## AUTHOR

(c) 2007-2025 GrammarSoft ApS
