Skip to content

LightningFile

Zeanon edited this page Oct 25, 2019 · 2 revisions

LightningFile

Introduction

LightningFile is a File-Type developed by Zeanon and JavaFactoryDev, it aims to delivergood performance, while being very readable for humans and easy to utilize.
To get Syntax Highlighting for it in Notepad++ just import the custom language located in the libs folder in the Project.

Syntax

Comments: You simply write a comment by using #, a comment has to be in it's own line, whereas the indentation does not matter.

#This is a comment

key-value-pair: key = value sub blocks:

block {
    key = value
}

Lists:

list = [value1, value2, value3]

or

list = [
    - key1
    - key2
]

Indentation does not matter, just the opener and closer chars matter.

Example:

# This is an example file
here is {
    a nested {
        key = value
        list = [value1, value2]
        another list = [
            - another value1
            - another value2
        ]
    }
}
Clone this wiki locally