~poldi1405/lyml

98e7ca0ada01faa6f9632dc7711caeec7734d638 — Moritz Poldrack 1 year, 6 months ago b8ff5c2 master
add ability to set negative numbers
1 files changed, 3 insertions(+), 3 deletions(-)

M lyml.abnf
M lyml.abnf => lyml.abnf +3 -3
@@ 13,8 13,8 @@ comment = "#" *UNICODE
string = basic-string / literal-string
basic-string = DQUOTE *( UNICODE / escape-sequence ) DQUOTE
literal-string = 3LQUOTE *UNICODE 3LQUOTE
float = 1*DIGIT "." 1*DIGIT
integer = 1*DIGIT
float = *1"-" 1*DIGIT "." 1*DIGIT
integer = *1"-" 1*DIGIT
boolean = %i"true" / %i"yes" / %i"enable" / %i"enabled" / %i"false" / %i"no" / %i"disable" / %i"disabled"

escape-sequence = "\" ESCAPECHAR


@@ 29,4 29,4 @@ HEX = DIGIT / %i"A" / %i"B" / %i"C" / %i"D" / %i"E" / %i"F"
LQUOTE = %x27
UNICODE = %x20-21 / %x23-5B / %x5D-7E / %x80-10FFFF
              ; not "     not \     not DEL
WHITESPACE = %x20 / %x09
\ No newline at end of file
WHITESPACE = %x20 / %x09