首页> 外文OA文献 >μPuppet: A Declarative Subset of the Puppet Configuration Language
【2h】

μPuppet: A Declarative Subset of the Puppet Configuration Language

机译:μpuppet:puppet配置语言的声明子集

代理获取
本网站仅为用户提供外文OA文献查询和代理获取服务,本网站没有原文。下单后我们将采用程序或人工为您竭诚获取高质量的原文,但由于OA文献来源多样且变更频繁,仍可能出现获取不到、文献不完整或与标题不符等情况,如果获取不到我们将提供退款服务。请知悉。

摘要

Puppet is a popular declarative framework for specifying and managing complex system configurations. The Puppet framework includes a domain-specific language with several advanced features inspired by object-oriented programming, including user-defined resource types, 'classes' with a form of inheritance, and dependency management. Like most real-world languages, the language has evolved in an ad hoc fashion, resulting in a design with numerous features, some of which are complex, hard to understand, and difficult to use correctly. udWe present an operational semantics for μPuppet, a representative subset of the Puppet language that covers the distinctive features of Puppet, while excluding features that are either deprecated or work-in-progress. Formalising the semantics sheds light on difficult parts of the language, identifies opportunities for future improvements, and provides a foundation for future analysis or debugging techniques, such as static typechecking or provenance tracking. Our semantics leads straightforwardly to a reference implementation in Haskell. We also discuss some of Puppet's idiosyncrasies, particularly its handling of classes and scope, and present an initial corpus of test cases supported by our formal semantics.
机译:Puppet是一个流行的声明性框架,用于指定和管理复杂的系统配置。 Puppet框架包括一种特定于域的语言,具有一些受面向对象编程启发的高级功能,包括用户定义的资源类型,具有继承形式的“类”以及依赖项管理。与大多数现实世界中的语言一样,该语言以特殊的方式发展,从而导致设计具有众多功能,其中一些功能复杂,难以理解且难以正确使用。 ud我们提出了μPuppet的操作语义,μPuppet是Puppet语言的代表性子集,涵盖了Puppet的独特功能,同时不包括已弃用或正在进行的功能。对语义进行形式化可以阐明语言的难点,确定未来的改进机会,并为将来的分析或调试技术(例如静态类型检查或出处跟踪)提供基础。我们的语义直接导致了Haskell中的引用实现。我们还将讨论Puppet的一些特质,尤其是其对类和范围的处理,并提供一个由我们的形式语义支持的测试用例的初始语料库。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号