Skip to content

Latest commit

 

History

History
70 lines (56 loc) · 3.12 KB

File metadata and controls

70 lines (56 loc) · 3.12 KB

diml

crates.io coverage build-linux-gnu build-linux-musl build-macos build-macos-aarch64 build-windows mit-license apache-license cc mbh es

Delimiter-Indented Markup Language (DIML) parser

Overview

Delimiter-Indented Markup Language (DIML) is a minimal, line-based markup language for writing hierarchical text.

Each node starts with a delimiter character, followed by an optional name and free-form content. Indentation determines nesting, so the structure is visible at a glance.

The document itself sets the rules:

  • its first character becomes the delimiter,
  • and its first indentation sets the indentation unit.

There are no closing tags, no quoting and no escaping. Free-form content runs until the next node.

License

Licensed under either of

at your option.

Contribution

Any contributions to diml are greatly appreciated. All contributions intentionally submitted for inclusion in the work by you, shall be dual licensed as above, without any additional terms or conditions.