神刀安全网

ACE – Adaptable Configuration Engine for C++

About

ACE (Adaptable Configuration Engine) is a model-based configuration authoring and validation environment. It’s aim is to bring determinism to tool configuration by externalizing the configuration definition into a separate model file. The model file can be seen as the expected layout of the configuration and declares valid options along with their types, arities, and documentations. It is used to externally check the validity of a configuration instance, browse legit options, and generate the necessary source code to access the options values.

How it works

ACE requires tool programmers to define a model for their configuration. Models contain declarations of valid options along with their types, arities, and documentation. Models are self-describing, meaning that a full configuration parser and full documentation can be generated form a single model definition. Models can inherit from others and option merging is supported depending on the option type. The language chosen to define models is JSON.

Supported configuration file formats

ACE currently support the JSON file format as well as Python and Lua scripts.

How to build

Grab the source code . In addition, ACE depends on the following libraries:

ACE uses tup as its build system. To build the project, simply run the following commands:

cd ace export ACE_ROOT=$PWD tup 

转载本站任何文章请注明:转载至神刀安全网,谢谢神刀安全网 » ACE – Adaptable Configuration Engine for C++

分享到:更多 ()

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址