+++ /dev/null
-&{header}
-<body>
- &{SOURCE}
-</body>
-&{footer}
+++ /dev/null
-<body>
- ${variable}
-</body>
+++ /dev/null
-<footer>FOOTER</footer>
+++ /dev/null
-@{
- link.url = ['a.com','a.com','a.com','a.com','a.com','a.com','a.com','a.com','a.com','a.com']
- link.title = ['a','a','a','a','a','a','a','a','a','a']
-}
-
-&{
- list.item = 'bench'
-}
-
-&{list}
-
+++ /dev/null
-<header>HEADER</header>
+++ /dev/null
-<header>
-<p>A list called: ${list_name}</p>
-&{list}
-</header>
+++ /dev/null
-<a href="@{url}"><b>@{title}</b></a>
+++ /dev/null
-<a href="@{url}">@{title}</a>
+++ /dev/null
-<ul>
- &{list.item}
-</ul>
+++ /dev/null
-<li>&{link}</li>
+++ /dev/null
-<li>@{items}</li>
+++ /dev/null
-@{
- list.item.items = ['A', 'Single','Word','Per','Item']
-}
-
-# LIST
-
-This is to test using arrays as lists.
-
-&{list}
+++ /dev/null
-${ var = 'GOOD' }
-&{ base = 'text' }
-
-# SIMPLE SUBSTITUTION
-
-variable: ${var}
+++ /dev/null
-${ variable = 'GOOD' }
-&{ body = 'variables' }
+++ /dev/null
-@{
- link.url = [ 'a.com', 'b.net', 'c.org']
- link.title = [ 'A Website', 'B Place', 'C Dest' ]
-}
-
-&{
- link = 'bold'
-}
-
-# LINKS
-
-This should create a group of bold links
-
-&{link}
+++ /dev/null
-&{
- header = BLANK
- footer = BLANK
-}
-
-# BLANK
-
-This should have no header or footer
+++ /dev/null
-${
- list_name = "A BIG LIST"
-}
-
-@{
- list.item.items = ['item1','item2','item3','item4']
-}
-
-# HEADER LIST
-
-This should have a list in the header
+++ /dev/null
-&{
- base = "text"
-}
-
-# MARKDOWN
-
-## Header
-This is a test for how various markdown elements translate
-
-### Small Header
-- Lists
-- With
-- Items
-
-#### tiny header
-*Fancy* **Text** __With__ _Adornments_
-
-<p>Inline HTML</p>
-
-[a link](https://example.org)
+++ /dev/null
-&{ base = 'text' }
-TEST
<html>
- &{body}
+&{body}
</html>
--- /dev/null
+<li>${inline}</li>
<body>
- &{header}
+ &{bench.header}
${bench_variable}
&{SOURCE}
- &{footer}
+ &{bench.footer}
<body>
--- /dev/null
+GOOD
+&{test.expand}
--- /dev/null
+&{test.override} &{test.default}
@{
single = ['single value arrays']
- footer.array = ['1','2','3','4','5','6','7','8','9','10']
+ bench.footer.array = ['1','2','3','4','5','6','7','8','9','10']
}
&{
body = 'bench'
- header = 'bench'
- footer = 'bench'
}
# THIS IS THE BENCHMARK FILE FOR METAFORGE
--- /dev/null
+@{ test.arr = BLANK }
+
+&{ test = 'blank_arr' }
--- /dev/null
+&{base = BLANK}
--- /dev/null
+${ variable = BLANK }
+
+&{ test = 'blank_variable' }
--- /dev/null
+-{ this is a comment }
--- /dev/null
+inline -{ comment } comment
--- /dev/null
+${
+ override = 'BAD'
+ global = 'GOOD'
+}
+
+&{
+ base = 'bare'
+ test.override = 'bad'
+ test.default = 'bad'
+ test.blank = 'bad'
+ test.global = 'good'
+}
--- /dev/null
+@{ test.arr = ['1','2','3','4','5']}
+&{ test = 'expand_arr' }
--- /dev/null
+@{ arr = [ '1','2','3','4','5'] }
+
+@{arr}
--- /dev/null
+&{ test = 'expand_pat' }
--- /dev/null
+&{ base = 'bare' }
+
+&{test.expand}
--- /dev/null
+${ var = 'GOOD' }
+
+&{ test = 'expand_var' }
--- /dev/null
+${ variable = 'GOOD' }
+
+${variable}
--- /dev/null
+#{ skip = 'true' }
--- /dev/null
+${ local_global = 'GOOD' }
+
+&{ test.local_global = 'good' }
--- /dev/null
+&{ base = 'bare' }
+
+&{test.global}
+&{test.local_global}
--- /dev/null
+&{base = 'bare'}
+
+${local_global}
+${global}
--- /dev/null
+&{
+ test = 'override'
+ test.override = 'good'
+ test.default = DEFAULT
+}
--- /dev/null
+${ override = 'GOOD' }
+
+${override}