Questions 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
#531on PLDB 8Years 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 · Traffic · Traffic Today · Day 305 · feedback@pldb.com · Logout