Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Nora INI configuration format

Example

---
[group]
string = text
another_string = "This is a string with spaces"
array = [
	string,
	"another string",
]
map = {
	key = value,
	another_key = "another value",
}

key.with = dots ---

Specification

Section

A section is a collection of key-value pairs. Section names are put in square brackets. Section names have the same format as keys.

Key-value pairs

A key-value pair is separated by =.

Key

A key is an ASCII string. A key must match the following regex: [a-zA-Z0-9_\.]*

Value types

Strings

A string is an UTF-8 string. A string that is not surrounded by quotes must have the same format as keys. A string that is surrounded by double quotes (") may contain any UTF-8 character. If a double quote is prefixed by a backslash (\") it is not considered an ending quote.

Array

An array is a sequence of string values. It is surrounded by square brackets.

Comment

A comment starts with #.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages