Skip to content
MAML
Search
Main Navigation
Home
Spec
v0.1
Appearance
Return to top
On this page
MAML v0.1 Syntax Diagrams
ws-comment-newline
value
ws-comment-newline
maml =
object
array
string
multiline-string
number
"true"
"false"
"null"
value =
"{"
members
ws-comment-newline
"}"
object =
ws-comment-newline
key-value
ws
comment
separator
members
ws-comment-newline
key-value
ws
comment
separator
members =
key
ws
":"
ws
value
key-value =
string
identifier
key =
ALPHA
DIGIT
"-"
"_"
identifier =
"["
items
ws-comment-newline
"]"
array =
ws-comment-newline
value
ws
comment
separator
items
ws-comment-newline
value
ws
comment
separator
items =
","
newline
separator =
quote
char
quote
string =
quote
literal-char
quote
literal-char
quote
multiline-string =
%x09
%x20-21
%x23-7E
non-ascii
newline
literal-char =
"-"
integer
fraction
exp
number =
%x31-39
onenine =
"e"
"E"
"-"
"+"
DIGIT
exp =
"."
DIGIT
fraction =
"0"
onenine
DIGIT
integer =
%x22
quote =
%x20-21
%x23-5B
%x5D-10FFFF
%x5C
%x5C
quote
"/"
"b"
"f"
"n"
"r"
"t"
"u"
HEXDIG
char =
"#"
non-eol
comment =
%x09
%x20-7E
non-ascii
non-eol =
%x80-D7FF
%xE000-10FFFF
non-ascii =
SP
HTAB
comment
newline
ws-comment-newline =
LF
CR
LF
newline =
SP
HTAB
ws =
%x20
SP =
%x09
HTAB =
%x0D
CR =
%x0A
LF =
%x41-5A
%x61-7A
ALPHA =
%x30-39
DIGIT =
DIGIT
"A"
"B"
"C"
"D"
"E"
"F"
HEXDIG =