Languages Features Creators Calendar CSV Resources Blog About Pricing Add Language
GitHub icon

Pan

Pan - Programming language

< >

Pan is a programming language created in 2011 by Charles Loomis.

#896on PLDB 12Years Old 306Users
0Books 0Papers 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
comby.html · pan.html · nxc.html

View source

- Build the next great programming language · Search · v2023 · Day 205 · Docs · Acknowledgements · Traffic · Traffic Today · Mirrors · GitHub · feedback@pldb.com