supper bare strings, break variables
this is a HUGE change to the syntax, but I'm really excited about it! It was @avleen that convinced me this was worth looking into.master
parent
bdf11713ea
commit
9591212531
@ -1,8 +1,10 @@
|
|||||||
|
|
||||||
errant_name
|
this whole line is one string value, y'all!
|
||||||
|
|
||||||
no_value:
|
no_value:
|
||||||
|
|
||||||
key: var_name
|
key: a bare string is here
|
||||||
|
|
||||||
key: "string"
|
key: "string"
|
||||||
|
|
||||||
|
one: the first string; two: the second string
|
||||||
|
@ -1,9 +1,15 @@
|
|||||||
{t_name errant_name}
|
{t_string this whole line is one string value, y'all!}
|
||||||
{t_name no_value}
|
{t_name no_value}
|
||||||
{t_object_separator :}
|
{t_object_separator :}
|
||||||
{t_name key}
|
{t_name key}
|
||||||
{t_object_separator :}
|
{t_object_separator :}
|
||||||
{t_name var_name}
|
{t_string a bare string is here}
|
||||||
{t_name key}
|
{t_name key}
|
||||||
{t_object_separator :}
|
{t_object_separator :}
|
||||||
{t_string string}
|
{t_string string}
|
||||||
|
{t_name one}
|
||||||
|
{t_object_separator :}
|
||||||
|
{t_string the first string}
|
||||||
|
{t_name two}
|
||||||
|
{t_object_separator :}
|
||||||
|
{t_string the second string}
|
||||||
|
@ -1,2 +1,7 @@
|
|||||||
an_item: "this is the value of the item"
|
# this was original a variable test case, but I'm changing it to be a bare
|
||||||
a_variable: an_item
|
# string / quoted string test. The variable test will come after; variables
|
||||||
|
# are broken right now.
|
||||||
|
|
||||||
|
quoted_string: "this is a quoted string"
|
||||||
|
bare_string: this is a bare string
|
||||||
|
name with space: that name has spaces in it, and you know what? that's ok!
|
||||||
|
@ -1,13 +1,19 @@
|
|||||||
root:
|
root:
|
||||||
assign:
|
assign:
|
||||||
name:
|
name:
|
||||||
an_item
|
quoted_string
|
||||||
value:
|
value:
|
||||||
string:
|
string:
|
||||||
this is the value of the item
|
this is a quoted string
|
||||||
assign:
|
assign:
|
||||||
name:
|
name:
|
||||||
a_variable
|
bare_string
|
||||||
value:
|
value:
|
||||||
variable:
|
string:
|
||||||
an_item
|
this is a bare string
|
||||||
|
assign:
|
||||||
|
name:
|
||||||
|
name with space
|
||||||
|
value:
|
||||||
|
string:
|
||||||
|
that name has spaces in it, and you know what? that's ok!
|
||||||
|
Loading…
Reference in New Issue