---
name: "cinfodb"
section: "5"
platform: "linux"
package: "cutils"
version: "1.5.2-6"
release: "Debian 2.2 (Potato)"
platforms: ["linux"]
url: "https://new.carta.tech/cinfodb"
---

# cinfodb(5)

cinfo database description format

## NAME

**cinfodb** – cinfo database description format

## DESCRIPTION

The cinfo database description must be written using the grammars below, used by the cinfo database compiler. The yacc grammar of the cinfo format is:

```
%token STRING IDENTIFIER
%%
cinfo_file:
		/* empty */
		| object_list
		;
object_list:
		object_list object
		| object
		;
object_list_opt:
		/* empty */
		| object_list
		;
object:
		'(' string variable_list_opt object_list_opt ')'
		;
variable_list_opt:
		/* empty */
		| variable_list
		;
variable_list:
		variable_list variable
		| variable
		;
variable:
		identifier '=' string
		;
string:
		STRING
		;
identifier:
		IDENTIFIER
		;
%%
```

The Backus-Naur Form grammar of the cinfo format is:

```
<cinfo-database> ::= [ { <object> } ]
<object> ::= '(' <object-name-string> [ { variable } ] [ { object } ] ')'
<variable> ::= <variable-identifier> '=' <variable-value-string>
<object-name-string> ::= <string>
<variable-value-string> ::= <string>
<variable-identifier> ::= [-a-zA-Z_][-a-zA-Z_0-9]*
<string> ::= "[^"]"
```

## SEE ALSO

[cinfo(1)](/cinfo/1.md), [cinfoc(1)](/cinfoc/1.md), [cinfodc(1)](/cinfodc/1.md)

## AUTHOR

Sandro Sigala (ssigala@globalnet.it)
