sily.sdlang

Wrapper for SDLite.

Noticable differences between SDLang and SDLite parser: - Line breaking is not allowed ("title \", newline, " 'value'")

Members

Aliases

SDLAttribute
alias SDLAttribute = sdl.SDLAttribute

Attribute of sdlang node (attr="val")

SDLNode
alias SDLNode = sdl.SDLNode

Representation of single sdlang node

SDLType
alias SDLType = sdl.SDLValue.Kind

Alias to SDLValue.Kind. Represents type of SDLValue.

SDLValue
alias SDLValue = sdl.SDLValue

Value of sdlang node

Functions

generateSDL
string generateSDL(SDLNode[] input)
string generateSDL(SDLNode input)
string generateSDL(SDLValue input)

Writes SDL data into string

parseSDL
SDLNode[] parseSDL(string input, bool printOnError)

Parses SDL string into SDLNode[]

Meta