Skip to content

Conditional Markup Language for description files in package and build systems.

License

Notifications You must be signed in to change notification settings

terbshaeusser/CML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Conditional Markup Language

The Conditional Markup Language is primary designed for description files in package and build systems.

Detailed information about the format can be found in the Format.md document.

Advantages

The following list shows the advantages of CML compared to already existing markup languages:

  • Less verbose syntax
  • Single and multi line comments
  • Conditional include of object keys
  • Escape sequences in strings start with ^ instead of \ resulting in readable Windows paths

Example

/*
 * This example describes a package called Core.Collections.
 */

name: "Core.Collections"
version: "1.0-beta"
description: "
  This package contains basic collections like maps, sets and lists.
  For more information see page XYZ.
"

sources:
- "src/collections.c"
- "src/lists.c"
- "src/maps.c"
- "src/sets.c"

dependencies:
  Core: "2.0"

[OS == "Windows"]
dependencies:
  Core.Windows: "2.0"
  Api.Windows: "1.0"

About

Conditional Markup Language for description files in package and build systems.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published