Measures Concepts
GitHub icon

mgmt

mgmt - Programming language

< >

mgmt is a programming language created in 2015 by James Shubin.

Source code:
git clone https://github.com/purpleidea/mgmt
#530on PLDB 9Years Old

Next generation distributed, event-driven, parallel config management!


Example from the web:
import "datetime" $is_friday = datetime.weekday(datetime.now()) == "friday" file "/srv/files/" { state => $const.res.file.state.exists, mode => if $is_friday { # this updates the mode, the instant it changes! "0550" } else { "0770" }, }

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