Top 1,000 Features Creators Events Podcasts Extensions Interviews Blog Explorer CSV

Pan

< >

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

#646on PLDB 13Years Old 41Repos
Download source code:
git clone https://github.com/quattor/pan
Homepage · Source Code · Wikipedia

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 Example Token
Comments ✓
# A comment
Line Comments ✓
# A comment
#
Semantic Indentation X

View source

- Build the next great programming language · About · Resources · Acknowledgements · Part of the World Wide Scroll