Link Search Menu Expand Document

KyoML

A dynamic markup language with support for custom directives and plugins

Get started now Source

  #
  # Example KyoML document
  #

  # == Key/Value Pairs ==
  noun      = "world"
  greeting  = "hello"

  # == String interpolation ==
  sentence = "${noun} ${greeting}"

  #
  # == Blocks ==
  # Main structural construct, can be nested
  #

  kyoml {
    #
    # == Directives ==
    # Enrich your document with plugins and custom methods
    #

    @directives('rock')

    # == JSON-like data structures ==
  
    array = [
      1001,
      1003,
      1002
    ]

    #
    # == Pipes ==
    # Allow passing values to directives
    #

    users = "api.com/users" |> @fetch
  }

KyoML concept

The root idea behind KyoML, is to create a markup language which you can enrich yourself.

It was designed in an attempt to customize the configuration experience provided to others.

In its raw form, KyoML isn’t much different from JSON or Yaml but, thanks to directives, you can level it up, and add your own features to the language.

Note: KyoML does not ship with any directives, it’s up to you to write your own

KyoML Features

  • Key/Value Pairs
  • Arrays
  • Blocks
  • Maps
  • Directives
  • Mappers
  • Pipes
  • Plugins
  • String interpolation