### BarkML Section Example Source: https://github.com/serates/barkml/blob/main/README.md Examples demonstrating how to define named sections in BarkML, containing key-value assignments. ```BarkML [section-a] foo = "bar" ["section-b"] foo = "baz" ``` -------------------------------- ### BarkML Comment Example Source: https://github.com/serates/barkml/blob/main/README.md An example of a single-line comment in BarkML. ```BarkML # This is a comment in BarkML ``` -------------------------------- ### BarkML Semantic Version Examples Source: https://github.com/serates/barkml/blob/main/README.md Examples of semantic version declarations in BarkML, requiring at least major.minor.patch components. ```BarkML 1.0.0 0.1.0-beta.1 0.1.0-prerelease-build.5 ``` -------------------------------- ### BarkML String Value Examples Source: https://github.com/serates/barkml/blob/main/README.md Examples of string values in BarkML, showing both single and double-quoted strings. ```BarkML 'my-string' "my string value" ``` -------------------------------- ### BarkML Integer Value Examples Source: https://github.com/serates/barkml/blob/main/README.md Examples of integer values in BarkML, including signed and unsigned integers with explicit precision suffixes. ```BarkML 5 -2 5u32 -2i64 ``` -------------------------------- ### BarkML Floating Point Value Examples Source: https://github.com/serates/barkml/blob/main/README.md Examples of floating-point numbers in BarkML, demonstrating various formats including scientific notation and explicit precision suffixes. ```BarkML 3.14 3.14f32 -5.2 5.2e10 5.2e+10 3.1e-10 30.0E+2 ``` -------------------------------- ### BarkML Assignment Statement Example Source: https://github.com/serates/barkml/blob/main/README.md Examples of simple assignment statements in BarkML, showing both unquoted and quoted identifiers. ```BarkML foo = "bar" "baz" = 3.14 ``` -------------------------------- ### BarkML Semantic Version Requirement Examples Source: https://github.com/serates/barkml/blob/main/README.md Examples of semantic version requirement declarations in BarkML, always requiring an operator. ```BarkML >1.1 ^4 ~5.3 ``` -------------------------------- ### BarkML Byte Data Example Source: https://github.com/serates/barkml/blob/main/README.md An example of storing base64 encoded byte data in BarkML, using the 'b' prefix for binary strings. ```BarkML b'YmluYXJ5c3RyaW5n' ``` -------------------------------- ### BarkML Control Statement Example Source: https://github.com/serates/barkml/blob/main/README.md An example of a control statement assigning a labeled value to a variable, often used to define schema information. ```BarkML $control_id = !MyProgram 1.0.0 ``` -------------------------------- ### BarkML Comment Syntax Source: https://github.com/serates/barkml/blob/main/README.md Defines the syntax for single and multi-line comments in BarkML, starting with '#' followed by a whitespace. ```BarkML # # <...> ``` -------------------------------- ### BarkML Array Definition Source: https://github.com/serates/barkml/blob/main/README.md Shows an example of a dynamic array in BarkML. Arrays are enclosed in square brackets and can contain 0 or more comma-delimited values of mixed types. ```BarkML [5, 3.14, 'foo'] ``` -------------------------------- ### BarkML Self-Referential Macro Replacement Source: https://github.com/serates/barkml/blob/main/README.md Example of how BarkML supports self-referential macros. These macros look up and replace values with previously defined ones at parse time, referencing data via a root path from the top of the configuration file. ```BarkML version = "1.0.0" [section] val = 5 [section-b] parent-version = m!version other-val = m!section.val ``` -------------------------------- ### BarkML Control Statement Syntax Source: https://github.com/serates/barkml/blob/main/README.md Defines the syntax for control statements in BarkML, used for specifying metadata. They are assignment statements to variables starting with '$'. ```BarkML $ = (!