vcoml

Imagine a markup language, but worse


License
MIT
Install
pip install vcoml==1.0.1

Documentation

vcoml

Imagine a markup language, but worse

Syntax Example

VcoML:

:"members"
  :297045071457681409
    :"username"
      "vcokltfre"
    :"discriminator"
      6868
    :"mfa"
      ya
    :"verified"
      na
    :"email"
      idk
    :"roles"
      >
        :"id"
          1234
        :"name"
          "Admin"
      >
        :"id"
          5678
        :"name"
          "Moderator"

YAML:

members:
  297045071457681409:
    username: vcokltfre
    discriminator: 6868
    mfa: true
    verified: false
    email: null
    roles:
      - id: 1234
        name: Admin
      - id: 5678
        name: Moderator

Usage

from vcoml import pack, unpack


data = unpack("""
:"abc"
  123
:"def"
  >
    "list"
  >
    "more list"
""")

print(data)

# Re-pack the data
print(pack(data))

Todo

  • CLI