Top 1,000 Features Creators Resources Blog Explore Download
GitHub icon

mgmt

< >

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

Source code:
git clone https://github.com/purpleidea/mgmt
#283on 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 · About · Acknowledgements · Extensions · Day 624 · feedback@pldb.io