ThunderFile - Zeanon/StorageManager GitHub Wiki

ThunderFile

Introduction

ThunderFile is a File-Type developed by Zeanon, it aims to deliver good performance, while being very readable for humans and easy to utilize. It is greatly advised to use bigMap(true) on the builder when parsing large files, so that the data gets cashed in a way that is more optimized for a huge amount of entries. 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
# This as well

key-value-pair:

key = value

sub blocks:

block {
    key = value
}

Lists:

list = [value1, value2, value3]

or

list = [
    - key1
    - key2
]

Pairs:

pair = [key : value]

Example

# This is an example File
key = value
key2 {
  pair = [pairkey : pairvalue]
  list1 = [entry1, entry2, entry3]
  list2 = [
    - entry 1
    - entry 2
    - entry 3
  ]
}