---
title: Pan (programming language)
slug: pan-programming-language
qid: 
snapshot: enwiki-001357404904
content_hash: 
license: CC BY-SA 4.0
source: https://en.wikipedia.org/w/index.php?oldid=1357404904
tags: [23204648, 27320558]
---

# Pan (programming language)

> [!note] Provenance
> Snapshot `enwiki-001357404904` · content root `…`
> Derived from <https://en.wikipedia.org/w/index.php?oldid=1357404904> · Licensed CC BY-SA 4.0

The pan configuration language allows the definition of machine configuration information and an associated schema with a simple, human-accessible syntax. A pan language compiler transforms the configuration information contained within a set of pan templates to a machine-friendly XML or JSON format. The pan language is used within the Quattor toolkit to define the desired configuration for one or more machines. The language is primarily a declarative language where elements in a hierarchical tree are set to particular values. The pan syntax is human-friendly and fairly simple, yet allows system administrators to simultaneously set configuration values, define an overall configuration schema, and validate the final configuration against the schema.

The pan configuration language allows the definition of machine configuration information and an associated schema with a simple, human-accessible syntax. A pan language compiler transforms the configuration information contained within a set of pan templates to a machine-friendly XML or JSON format. The pan language is used within the Quattor toolkit to define the desired configuration for one or more machines. The language is primarily a declarative language where elements in a hierarchical tree are set to particular values. The pan syntax is human-friendly and fairly simple, yet allows system administrators to simultaneously set configuration values, define an overall configuration schema, and validate the final configuration against the schema. [ object | declaration | unique | structure ] template template-name; [ statement … ] These files may contain comments that start with the hash sign ('#') and terminate with the next new line or end of file.
