Skip to content

vsol-lang/vsol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VSOL - Versatile Simple Objective Language

A simple, human-readable, and easy-to-use configuration file format.

Version: 0.0.1
Created by Md. Almas Ali

Hits GitHub stars GitHub forks GitHub last commit PyPI version PyPI pyversions PyPI license PyPI status Total Downloads

Table of Contents

Introduction

VSOL, which stands for Versatile Simple Objective Language, is a configuration file format that is designed to be easy to read, write, and understand. It is often used for configuring software applications, as it allows developers and users to specify settings and options in a clear and concise manner. VSOL files are written in a human-readable format, using plain text and simple syntax rules, making it easy to edit and manage them using a text editor or other software tools. This format is particularly useful for applications that require complex configurations, as it allows developers to organize settings hierarchically and specify default values, making it easier to maintain and modify settings over time. Overall, VSOL is a flexible and powerful configuration file format that can help improve the functionality and usability of software applications.

Installation

pip install vsol

Usage

# Import VSOL
from vsol import VSOL

vsol = VSOL()

vsol.load("example.vsol")

Example

# VSOL - Versatile Simple Objective Language

# Base object
# This is a comment
string = "# This is not a comment"

.project
    site_name = "VSOL"
    version = "0.0.1"
    description = "VSOL - Versatile Simple Objective Language"
    authors = ["VSOL Team", "VSOL Contributors", "VSOL Users"]

.const
    const1 = "This is a const"

.debug
    debug = true

.contact
    authors_email = ["example@mail.com"]

.project_urls
    Documentation = "https://example.com"
    Github = "https://github.com/vsol-lang/vsol"

.license
    license = "MIT"

# Multi-level object
.inner1

    .inner2

        .inner3
            inner3 = "This is a inner3"

        .inner4
            inner4 = "This is a inner4"

    .inner5
        inner5 = "This is a inner5"

License

forthebadge

forthebadge

forthebadge

About

Versatile Simple Objective Language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages