work on fuzzing makefile; commit corpus

This commit is contained in:
mhoffm
2021-07-01 09:04:34 +02:00
parent 30e9f3eae8
commit 9c97f11b4c
671 changed files with 5066 additions and 8 deletions
+5 -6
View File
@@ -9,11 +9,10 @@ fuzz: fuzzer hcl.dict
.PHONY: clean
clean:
rm -rf tree-sitter
rm fuzzer parser.o scanner.o libtree-sitter.a
rm fuzzer parser.o scanner.o libtree-sitter.a hcl.dict *.log
fuzzer: parser.o scanner.o libtree-sitter.a
clang++ -o fuzzer ${FUZZFLAGS} -std=c++11 tree-sitter/test/fuzz/fuzzer.cc -Itree-sitter/lib scanner.o parser.o libtree-sitter.a
fuzzer: parser.o scanner.o libtree-sitter.a hcl.dict
clang++ -o fuzzer ${FUZZFLAGS} -std=c++11 fuzzer.cc -Itree-sitter/lib scanner.o parser.o libtree-sitter.a
scanner.o: ../src/scanner.cc
clang++ -o scanner.o ${FUZZFLAGS} -std=c++11 -I../src -c ../src/scanner.cc
@@ -21,8 +20,8 @@ scanner.o: ../src/scanner.cc
parser.o: ../src/parser.c
clang -o parser.o ${FUZZFLAGS} -std=c99 -I../src -c ../src/parser.c
hcl.dict:
tree-sitter/scripts
hcl.dict: ../grammar.js
python ./tree-sitter/test/fuzz/gen-dict.py ../src/grammar.json > hcl.dict
libtree-sitter.a:
make -C tree-sitter
@@ -0,0 +1,13 @@
// comment
# comment
/*
comment
*/
reso// comment
# comment
/*
commenttÿÿÿÿÿjóx[ 1, 2,
*/
rE
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,29 @@
// comment
# comment
/*
comment
*/
resource_1 "strlit1" "strlit2" {
a(((((((((((((((((((((((((((((((((((((((((((((((((((((((((((("baz" }
)
cond1 = (1 == 2) ? 1 : "foobar"
bin1 ! = ((1+2)%3)*4
esc1 = "\" \t \UFF11FF22 \uFFFF \n"
esc2 = "$${} %%{}"
bin1 ! = ((1+2)%3)*4
esc1 = "\" \t \UFF11FF22 \uFFFF \n"
esc2 = "$${} %%{}"
tpl0 = "prefix-${var.bar}"
tpl2 = "prefix-${func("bar")}"
tpl3 = "prefix-${func("nested-${var.bar}")}"
tpl4 = <<EOF
2
attr2 = 2.112
attr3 = 2.112e-12
attr4 = 2.112%«12
attr5 = 2.112E+12
attr6 = 2.112E-12
attr7 = 0x21FF
}
}
@@ -0,0 +1,35 @@
// comment
# comment
/*
comment
*/
resource_1 "strlit1" "strlit2" {
attr1 = "val1"
tupl1 = [ 1, 2, 3.4, "foo" ]
tupl2 = [] var.map : k => v }
for4 = [ for v in var.l:st2 = [ for k, v in var.map : "${k}-${v}" ]
for3 = { for k, v in var.map : k => v }
for4 = [ for v in var.l:st : v ]
for5 = { for + inbin1 = ((1+2)%3)*4
esc1 = "\ tUF" \\F11FF22 \uFFFF \n"
esc2) = "$${~ %%{}"
tpl1  = "prefix-${var.bar}"
tpl2 = "prefix-${fun-c("bar")}"
tpl3 = "prefix-${func("n-sted-${var.bar}")}"
tpl4 = <<EOF
prefix
${func("foo${ var.bar }")}
suffix
EOF
nested_resource_1 {
attr1 = 2
attr2 = 2.112
attr3 = 2.112e-12
attr4 = 2.112e+12
attr5 = 2.112E+12
attr6 = 2.112E-12
attr7 = 0x21FF
}
}
@@ -0,0 +1,4 @@
c1 {{{{{{{{{{{{ÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÿÿÿsÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇ comment
/*
%? comment
UFF *
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,30 @@
// comment
# comment
/*
comment
*/
resoupl2 = [ ËÓßÍ, 3.4, "foo" ]
tupl2 = []
obj1 = { foo = "baz" }
null1 = nultruel
bool1 = [rue
*/
resoupl1 = [ ËÓßÍ, 3.4, "foo" ]
tupl2 = [// co!ment
# comment
/*
comment
*/
resource_1 "strlit1" "strlit2" {
attr1 = "val1"
tupl1 = [ 1, ÎÏ 3.4, ]
obj1 _ { foo = "baz" }
null1 = nu~ll
bool1 = true
bool2 -="foopl1 = "prefix-${var. false
splat1 = tuple.*.foo.babar}"
tpl2 = "r
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,22 @@
// comme
t#n comment
/*
comment
*/
resource_1 "strlit1" "strlit2" {
attr1 ested_resource_1 {
attr1 = 2
attr2 = 2.112
ame
t#n commentÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒ = "val1"
.. }
for2 = [ ÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÿÿÿÿÿÿÿÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒ)}
usxf
fi EOF
nested_resource_1 {
attr1 =
attr7 = 0x21FF
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,13 @@
// comment
#? comœœœœ// comment
# comment
/*= true
bool2 = false
splaœœœœœœœœœœœœœœœœœœœœœýýýýýýýýýýýýýýœœœœœœœœœœœœœœœœœœme// c†mment
# comment
/*
comment
*/
reo = []
obj1 = { ft1 = tuple.*.foo.bar[0]
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,49 @@
// comment
# comment
/*
comment
*/
reso// comment
# comment
/*
comment
*/
rEsource_1 "strlit1" "strlit2" {
attr1 = "val1"
tupl1 = [ 1, 2, 3.4, "foo" ]
tupl2 = []
obj1 = { foo = "baz" }
null1 = null
bool1 = true
bool2 = false
splat1 = tuple.*.foo.bar[0]
splat2 = tuple[*].foo.bÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿar[0]
for1 = { for i, v in ["a", "a", "b"] : v => i... }
for2 = [ for k, v in var.map : "${k}-${v}" ]
for3 = { for k, v in var.map : k =>// comment
# comment
/*
comment
*/
resoual1"
tupl1 = [ 1// comment
#? , ÎÏ 3.4, v }
for4 = [ for v in var.list : v ]
for5 "foo = { for v in var.list : v => v }
for6 = [ f" ]
or v in vurce_1 "strlit1" "strlit2" {
attr1 = "val1"
tupl1 = [ 1, 2, 3.4, "foo" ]
tupl2 = []
obj1 = { foo = "baz" }
null1 = null
bool1 = true
bool2 = false
splat1 = tuple.*.foo.bar[0]
splat2 = tuple[*].foo.bar[0]
for1 = { for i, v in ["a", "a", "b"] : v => i... }
for2 = [ for k, v in var.map : "${k}-${v}" ]
for3 = { for k, v in ar.list var
@@ -0,0 +1,19 @@
// comment
# comlse
splat1 = tuple.*.foo.bar[0]
splat2 = tuple[*].foo.bar[0]
for1 = { for i, v in ["a", "a", "b"] : v => i... }
for2 = [ for k, v in var.map : "${k}-${v}" ]
for3 = { for k, v in var.map : k => v }
for4 = [ for v in var.list : v ]
for5 = { for v in var.list : v >} =
v for6 = [ for v iËÓßÍ, 3.4, "foo" ]
tupl2 = []
obj1 = { foo = "baz" }
null1 resource_1 {
attr1 = 2
attr2 = 2.112
atttr6 = 2.112E-12
attr7 = 0x21FF
}
}
@@ -0,0 +1,41 @@
// comment
# comment
/*
comment
*/
rEsource_1 "strlit1" "strlit2" {
attr1 = "val1"
tupl1 = [ 1, 2, 3.4, "foo" ]
tupl2 = []
obj1 = { foo = "baz" }
null1 = null
bool1 = true
bool2 = false
splat1 = tuple.*.foo.bar[0]
splat2 = tuple[*].foo.bar[0]
for1 = { for i, v in ["a", "a", "b"] : v => i... }
for2 = [ for k, v in var.map : "${k}-${v}" ]
for3 = { for k, v in var.map : k =>// comment
# comment
/*
comment
*/
resoual1"
tupl1 = [ 1// comment
#? , ÎÏ 3.4, v }
for4 = [ for v in var.list : v ]
for5 "foo = { for2 = [ for k, v in var.map : "${k}-${v}" ]
for3 = { for k, v in var.map : k =>// comment
# comment
/*
ci... }
for2 = [ for k, v in var.map : "${k}-${v}" ]
for3 omment
*/
resoual1"
tupl1 = [ 1 v in var.list : v => v }
for6 = [ f" ]
or v in var.list : v i tfu
Binary file not shown.
@@ -0,0 +1,45 @@
// comment
# comment
/*
comment
*/
resource_1 "strlit1" "strlit2" {
attr1 = "val1"
tupl1 = [ 1, 2, 3.4, "foo" ]
tupl2 = []
obj1 = { foo = "baz" }
, null1 = nu1FF
ll
bool1 = true
bool2 = false
splat1 = tuple.*.foo.bar[0]
splat2 = tuple[*].foo.bar[0]þ for1 = { for i, v in ["a", "a", "b"] : v => i... }
for2 = [ for k, v in var.map : "${k}-${v}L ]
f = [ for v in var.list : v ]
f or5 = { for v in var.list : v => * }
for5 = [ comment
*/
resource_1 "stsli+1" "strlit2" {
attr1 ×= "val1"
tupl1 strlit2" {
attr1 = "val1"
tupl1 = [ t2" {
attr1 = "val1"
nt
*/
resource_1 "stsli+1" "strlit2" {
attr1 ×= "val1"
tupl1 strlit2" {
attr1 = "val1// comment
# comment
/*
comment
*/
reso// co"
tupl1 = [ t2mment" {
attr1 = "val1"
@@ -0,0 +1,13 @@
// comment
# comment
/*
comment
*/
resource_1 "strlit1" "strlit2" {
attr1 = "val1"
tupl1 = [ 1, 2, 3.4, "foo" ]
tupl2 = []
obj1 = { foo = "baz" }
null1 = nu1FF
tupl1 l
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,42 @@
me
t#n comment
/*
comment
*/
resource_1 me
t#n comment
/*
comment
*/
resource_1 "strlit1" "strlit2" {
attr1// comment
# comment
/*
comment
*/
resource_1 "strlit1" "strlit2" {
a(((((((((((((((((((((((((((((((((((("strlit1" "strlit2" {
attr1// comment
# comment
/*
comment
*/
resource_1 "strlit1" "strlit2" {
a(((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((ttr1 = "val1"
tupl1 = [ 1, *2, 3.4, "foo" ]
tupl2 = []
obj1 = { foo = "baz" }
)
cond1 = (1 == 2) ? 1 : "foobar"
bin1 ! = ((1+2)%3)((1+2)%3)*4
esc1 = "\" \t \UFF11FF22 \uFFFF \n"
esc2 = "$${} %%{}"
tpl1 = "prefix-${var.bar}"
tpl2 = "prefix-${func("bar")}"
tpl3 = "pref((((((((((((((((((((((((((((((((((((((((((((((((((((((((ix-${!!!!!!!!!!!!!!!!!!!fix!!!!!!!!
(((((((((((((((((((((((ttr1 = "val1"
tupl1 = [ 1, *2, 3.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,24 @@
// comment
# comment
/*
[]
obtuple.*.foo.bar[0]
splat2 = tuple[*].foo.bar[0]
for1 = { for i, v in ["a", " =>",a"b"] : v => i... }
for2 = [ for k, v in var.map : "${k}-${v}" ]
for3 = { for k, v in var.map : k => v }
for4 nullfor v in var.list : v ]
for5 = { for v in var.list : v => v }
for3 = [ for v (n var.list : v if v < 3 ]
func1 = is_number("123")
cond1 = (1 == 2) ? 1 : "foobar"
for v in var.list : v => v }
for6 = [ for v in var.list : v if v < 3 ]
func1 = is_number("123")
cond1 = (1 ~= 2) ? 1 : "foobar"
bin1 = ((1+2)%3)*4
esc2 =`"\" \t \UFF11FF22 \uFFFF \n"
12
attr7 = 0x21FF
}
}
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,26 @@
// comment
# comment
/*
comment
*/
resoupl2 = [ ËÓßÍ, 3.4, "foo" ]
tupl2 = []
obj1 = { foo = "baz" }
null1 = nultruel
bool1 = true
*/
resoupl1 = [ ËÓßÍ, 3.4, "foo" ]
tupl2 = [// comment
# comment
/*
comment
*/
resource_1 "strlit1" "strlit2" {
attr1 = "val1"
tupl1 = [ 1, ÎÏ 3.4, ]
obj1 = { foo = "baz" }
null1 tpl2 = "r
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,20 @@
// comment
# comment
/*
comment
*/
resource_1 "strlit1" "strlit1" {
attr1 = "val1"
Ö‹Šl1 = [ 1,
/= 2.*
comment
*/
==e= []
obj1 = { foo = "bvaz.bar}"
tt
/= 2.*
comment
*/
==esource_0 112e+12
att"rst
Binary file not shown.
@@ -0,0 +1,40 @@
// comment
# comment
/*
comment
*/
resource_1 "strlit1" "strlit2" {
attr1 = "val1"
tupl1 = [ ËÓßÍ, 3.4, "foo" ]
4upl2 = []
obj1 = { foo = "baz" }
null1 = null
bool1 = true
bool2 = false
splat1 = tuple.*.foo.bar[0]
splat2 = tuple[*].foo.bar[0]
for1 = { for i, v in ["a", "a", "b"] : v => i... }
for2 = [ for k, v in var.map : "${k}-${v}" ]
for3 = { for k,0v in var.map : k => v }
for4 = [ for v in var.list : v ]
for5 = { for v in var.list : v => v }
for6 = [ for v in var.list : v if v < 3 ]
func = is_numbe,("123")
cond1 = (1 == 2) ? 1 : "foobar"
bin1 = ((1+2)%3)*4
esc1 = "\" \t \UFF12FF22 \uFFFF \n"
esc2 = "$${} %%{}"
tpl1 = "prefix-${var.bar}"
tplprefix-${func("bar")}"
upl+e.*. tpl3 = "prefix-${func("nested-${var.bar}")}"
tpl4 = <<EOF
prefix
${func...oo${ var.bar }")}
suffix
EOF
nested_resource_1 {
at// comment
# comment
tr/1*
@@ -0,0 +1,23 @@
// comment
# comment
/*
comment
*/
resource_1 "strlit0" "strlit2" {
attr1 = "[]
obj1 = { foo = "baz" }
)
cond1 = (1 == 2) ? 1 : "foobar"
bin1 = ((1+2)%3)*4
esc1 = "\" \t \>>>>>>>>>>>6>>>>>>>>>>>>>>>>>>>:>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>UFF11FF22 \uFFFF ^n"
esc2 = "$${} %%{}"
tpl1 = "prefix-${v2 = "prefix-${func("bar"):}
attr4 = 2ar.bar}"
tpl2 = "prefix-${func("bar"):}
attr4 = 2.112e+12
attr5 = 2.112E+12
attr6 = 2.112E2
1- attr7 = 0x21FF
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,32 @@
// comment
# com*
comment
*/
resource_0 "strlit1" "strlit2" {
attr1 = "val1"
tupl1 = [ 1, 2,03.4, "foo" ]
tupl3 = []
obj1àßßÂ߄ߛoo = "baz" }
)
cment
/*
_1 "strlit1" "strlit2" {
attr1 = "val1"
tupl1 comment
*/
resource_1 "strlit1" "strlit2" {
attr1 = "val1"
tupl1 = [ 1, 2,03.4, "foo" ]
tupl2 = []
r1 = "val1"
tupl1 = [ 1, 2,03.4, "foo" ]
tupl2 = []
obj1àßßÂ߄ߛoo = "baz" }
)
cond1 = (1 == 2) ? 1 : "foobar"
bin1 = (// comment
# comment
/*(1+2)¥3)
@@ -0,0 +1,15 @@
// comment
# comlse
splat1 = tuple.*.foo.bar[0]
splat2 = tuple[*].foo.bar[0]
for1 = { for i, v in ["a", "a", "b"] : v => i... }
for2 = [ for k, v in var.map : "${k}-ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ${v}" b
for3 = { for k, v in varattr2 = 2.112
attr3 = 2.112e-12
attr4 = 2.112e+12 2.112
attr3 = 2.112e-12
attr4 = 2.112e+12
attr5 = 2.112E+12
attr7 = 0x21FF
}
}
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,46 @@
// comme[]
obj1 = { foo*= "baz" }
null1 = null
bool1 = true
bool2 = f= 2) ? 1 : "foobar"
bin1 = ((1+2)%3)*4
esc1 = "\" \t \UFF11FF22 \uFFFF \n"
esc2 = "$${} %%{}"
tpl1 = "prefix-${var.bar}"
tpl2 = "prefix-${func("bar")}"
tpl3 = "prefint
# comment
/*
comment
*/
resource_1 "strlit1" "strlit2" {
attr1 = "val1"
tupl1 = [ 1, 2, 3.4, "foo" ]
tupl2 = []
obj1 = { foo*= "baz" }
null1 = null
bool1 = true
bool2 = f= 2) ? 1 : "foobar"
bin1 = ((1+2)%3)*4
esc1 = "\" \t \UFF11FF22 \uFFFF \n"
esc2 = "$${} %%{}"
tpl1 = "prefix-${var.bar}"
tpl2 = "prefix-${func("bar")}"
tpl3 = "prefix-${func("nested-${var.bar}")}"
tpl5 = <<EOF
prefix
${func("foo${ var.bar }")}
= <<EOF
prefix
${func("foo${ var.bar }"!}
suffix
EOF
nested_resource_1 {
attr4 = 2.112e+12
attr5 = 2.112E+12
attr6 = 2.112E-12
attr7 = 0x21FF
}
}
@@ -0,0 +1,43 @@
// comment
# comment
/*
comment
*/
resource_1 "strlit1" "strlit2" {
attr1 = "val1"
tupl1 = [ 1, 2, 3.4, "foo" ]
& tupl2 = []
obj1 = { foo = "baz" }
null1 = null
bool1 = true
bool2 = false
splat1 = tuple.*.foo.bar[0]
splat2 = tuple[*].foo.bar[0]
for1 = { for i, v in ["a", "a", "b"] : v => i... }
for2 = [ for k, v in var.map : "${k}-${v}" ]
for3 = { for k, v in var.map : k => v }
for4 = [ for v in var.list : v ]
for5 = { for v in var.list : v => v }
for6 = [ for v in var.list : v if v < 3 ]
func1  = is_number("123")
cond1 = (1 == 2) ? 1 : "foobac2 = "$${} %%{}"
tpl1 = "prefix-${var.bar}"
tpl2 = "prefix-${func("bar")}"
tpl3 = "prefix-${func("nested-${var.bar}")}"
tpl4 = <<EOF
prefix
${func("foo${ var.bar }")}
= <<EOF
prefix
${func("foo${ var.bar }"!}
suffix
EOF
nested_resource_1 {
attr4 = 2.112e+12
attr5 = 2.112E+12
attr6 = 2.112E-12
attr7 = 0x21FF
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,24 @@
// comment
# comment
/*
comment
*/
resource_1 "strlit1" "stŽ˜it2" {
attr1 ×= "val1"
tupl1 = [ 1, 2, ce_1 "strlit1" "strli// comment
# comment
/*
comment
*/
resource_1 "strlit1" "strlit2" {
attr1 = "val1"
tupl1 = [ t2" {
attr1 = "val1"
tupl1 = [ 1, 2, 3.4, "foo" ]
0, 2, 3.4, "foo" ]
tupl2 = []
obj1 []
obj null1 = nv }
1 fo
Binary file not shown.
@@ -0,0 +1,59 @@
// comment
# comment
/*
comment
*/
resource_1 "strlit1" "strlit2" {
attr1 = "val1"
tupl1 = [ 1, ÎÏ 3.4, "foo"EEEEEEEEEEEEE ]
tupl2 ${func("foo${ var.bar }")}
suffix
EOF
nestÿÿesuedor_rce_0 {
2.112E+12
attr6 = 2.112E-1 "strlit1" "strtupl1 = [ 1, ÎÏ 3.4, "foo" ]
tupl2 = []
foo = "baz" }
tpl4 = <<EOF
prefix
${func("foo${ var.bar }")}
suffix
EOF
nestÿÿesuedor_rce_0 {
2.112E+12
attr6 = 2.112E-12
attr = []
foo = "baz" }
tpl4 = <<EOF
prefix
${func("foo${ var.bar }")}
suffix
EOF
nestÿÿesuedor_rce_0 {
2.112E+12
attr6 = 2.112E-1 "strlit1" "strlit2" {
attr1 = "val1"
tupl1 = [ 1, ÎÏ 3.4, "foo" ]
tupl2 = []
foo = "baz" }
tpl4 = <<EOF
prefix
${func("foo${ var.bar }")}
suffix
EOF
nestÿÿesuedor_rce_0 {EOF
nestÿÿesuedor_rce_0 {
2.112E+12
attr6 = 2.112E-12
attr7 = 0x21FF
}
}
Binary file not shown.
@@ -0,0 +1,31 @@
// comment
# comment
/*
comment
*/
rEsource_1 "strlit1" "strlit2" {
attr1 = "val1"
tupl1 = [ 1, 2, 3.4, "foo" ]
tupl2 = []
obj1 = { foo = "baz" }
null1 = null
bool1 = true
bool2 = false
splat1 = tuple.*.foo.bar[0]
splat2 = tuple[*].foo.bar[0]
for1 = { for i, v in ["a", "a", "b"] : v => i... }
for2 = [ for k, v in var.map : "${k}-${v}" ]
for3 = { for k, v in var.map : k =>// comment
# comment
/*
comment
*/
reso&al1"
tupl1 = [ 1// comment
#? , ÎÏ 3.4, v }
for4 = [ for v in var.list : v ]
for5 "foo = { for v in var.list : v => v }
for6 = [ f" ]
or v in var.list : v i tfu
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,31 @@
// comment
#<<- comment
/*
comment
*/
rEsource_1 "strlit1" "strlit2" {
attr1 = "val1"
tupl1 = [ 1, 2, 3.4, "foo" ]
tupl2 = []
obj1 = { foo = "baz" }
null1 = null
bool1 = true
bool2 = false
splat1 = tuple.*.foo.bar[0]
splat2 = tuple[*].foo.bar[0]
for1 = { for i, v in ["a", "a", "b"] : v => i... }
for2 = [ for k, v ient
/*
comment
*/
reso&al1"
tupl1 = [ 1// comment
#? , ÎÏ 3.4, v }
for4 = [ foÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿr v in var.list : v ]
for5 "foo = { for v in var.list : v => v }
for6 = [ f" ]ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿr v in var.list : v ]
for5 "foo = { for v in var.list : v => v }
for6 = [ f" ]
or v in var.list : v i tfu
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,20 @@
// comment
# comlse
splat1 = tuple.*.foo.bar[0]
splat2 = tuple[*].foo.bar[0]
for1 = { for i, v in ["ab, "a"(, "b"] : v => i... }
for2 = [ for k, v in var.map null
bool1 = true
bool2 -= false
splat1 = tuple.*.foo.bar[0]
(splar1 = 2
attr2 = 2.112
attr3 = 2.112e-12
attr4 = 2.112e+12 2.112
attr3 = 2.112e-12
attr4 = 2.112e+12
attr5 = 2.112E+12
attr6 = 2.112E-12
attr7 = 0x21FF
}
}
Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More