Measures Concepts
GitHub icon

Pan

Pan - Programming language

< >

Pan is an open source programming language created in 2011 by Charles Loomis.

Source code:
git clone https://github.com/quattor/pan
#877on PLDB 13Years Old 41Repos

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. Read more on Wikipedia...


Example from Linguist:
unique template site/one/onevm; include 'components/chkconfig/config'; # set opennebula map include 'quattor/aii/opennebula/schema'; bind "/system/opennebula" = opennebula_vmtemplate; include 'site/config-vm'; include 'quattor/aii/opennebula/default'; "/software/packages/{acpid}" = dict(); "/software/components/chkconfig/service/acpid" = dict('on', '', 'startstop', true);
Example from Wikipedia:
[ object | declaration | unique | structure ] template template-name; [ statement … ]

Language features

Feature Supported Token Example
Comments ✓
# A comment
Line Comments ✓ #
# A comment
Semantic Indentation X

View source

- Build the next great programming language · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Queries · Stats · Sponsor · Day 605 · feedback@pldb.io · Logout