All Projects → ViliOrg → Vili

ViliOrg / Vili

Licence: MIT license
A nice and readable data format !

Programming Languages

C++
36643 projects - #6 most used programming language
CMake
9771 projects

Projects that are alternatives of or similar to Vili

concrete-python
Python modules and scripts for working with Concrete, a data serialization format for NLP
Stars: ✭ 19 (-24%)
Mutual labels:  data-format
Json
JSON for Modern C++
Stars: ✭ 27,824 (+111196%)
Mutual labels:  stl-containers
stlkrn
C++ STL in the Windows Kernel with C++ Exception Support
Stars: ✭ 216 (+764%)
Mutual labels:  stl-containers
tree.hh
An STL-like C++ header-only tree library
Stars: ✭ 79 (+216%)
Mutual labels:  stl-containers
ctl
My variant of the C Template Library
Stars: ✭ 105 (+320%)
Mutual labels:  stl-containers
stringify
print stl containers
Stars: ✭ 29 (+16%)
Mutual labels:  stl-containers
Ron
Rusty Object Notation
Stars: ✭ 1,834 (+7236%)
Mutual labels:  data-format
envfile
Parse and write environment files with Node.js
Stars: ✭ 42 (+68%)
Mutual labels:  data-format
spec
Just Data. Save up to 85% network bandwidth and storage.
Stars: ✭ 86 (+244%)
Mutual labels:  data-format
gamma-astro-data-formats
Data formats for gamma-ray astronomy
Stars: ✭ 24 (-4%)
Mutual labels:  data-format
DataBridge.NET
Configurable data bridge for permanent ETL jobs
Stars: ✭ 16 (-36%)
Mutual labels:  data-format

Banner

Vili

A simplistic readable data format !

build

Description

Vili is a YAML-like data language without all the complexity, it comes with handy features allowing you to describe your data with beautiful tree-structures.

Examples :

Animals (Simple tree-like structure)

Vili file

Animalia.vili

Animalia:
    Chordate:
        Mammal:
            Carnivora:
                Felidae:
                    Felis:
                        Domestica:
                            HouseCat:
                                name: "House Cat"
                                size: 24.5
                                cool: true
                        Leo:
                            Lion:
                                name: "Lion"
                                size: 280.7
                                cool: true
        Primate:
            Pongidae:
                Pan:
                    Troglodytes:
                        Chimpanzee:
                            name: "Chimpanzee"
                            size: 81.6
                            cool: true
            Hominidae:
                Homo:
                    Sapiens:
                        Human:
                            name: "Human"
                            size: 170
                            cool: false
    Arthopoda:
        Insect:
            Diptera:
                Muscidae:
                    Musca:
                        Domestica:
                            Housefly:
                                name: "Housefly"
                                size: 0.12
                                cool: false

Countries and Cities (Lists)

Vili file

Countries.vili

# Inline
France:
    cities: ["Paris", "Marseille", "Lyon", "Nice"] 
# Multiline
Germany:
    cities: [
        "Berlin",
        "Hamburg",
        "Munich",
        "Cologne"
    ]
# Do however you want
UnitedKingdom:
    cities: [
        "London", "Manchester",
        "Liverpool", "Glasgow"
    ]

Templates

# Simple templates (aliases)
template on: true
template off: false

switch_1: on
switch_2: off

# Advanced templates
template color: {
    type: "color",
    r: 0,
    g: 0,
    b: 0,
    a: 255
}

black: color
red: color { r: 255 }
green: color { g: 255 }
blue: color { b: 255 }
yellow: color { r: 255, b: 255 }
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].