Root { type_i8: -42 type_u8: 42 // Comment on the same line type_i16: -1337 // Comment on the line before type_u16: 1337 type_i32: -69696 type_u32: 69696 /* Block comment */ type_i64: -7202218937 type_u64: 7202218937 /* block comment with a * in it */ type_str: "Hello, world!" type_string: "Howdy, universe!" type_path: "hello.txt" type_enum: { unit: Unit unnamed: Unnamed(10) named: Named { v: 20 } } type_unit: Unit type_map_int: { // Comment just after curly brace key1: 8 key2: -12 /* block comment with a / in it */ key3: 0 } type_map_str: { key4: "Hi, space!" key5: "Yo, multiverse!" key6: "Sup, dimension!" } type_map_named_struct: { key7: NamedNode { s: "Ahoy, planet!" v: 78 // Comment just before curly brace } key8: NamedNode { s: "Namaste, cosmos!" v: -689 } // Comment on the end curly brace key9: NamedNode { s: "G'day, cluster!" /* /* nested comments */ */ v: 597 } } type_map_unnamed_struct /* before the colon */: { key10: UnnamedNode("Howdy-do, domain!", /* inside tuple */ 409) key11: UnnamedNode("Hi-ho, space-time!", 632) key12: UnnamedNode("Bonjour, infinity!", 2471) } txt_str: ##txt" Good day there mister! This text is quite long, and contains more than two paragraphs. It follows similar wrapping rules as markdown, so a single line-break is only used to make the paragraph easier to read. The prefix is also removed and so is the first and last newline "## esc_str: "LF: \n, Tab: \t, CR: \r, Unicode: \u{a4}, Backslash: \\, Quote: \", Hex: \x20" very_long_escape1: ###################################txt"it works"################################### very_long_escape2: ###################################txt"it "################################## works"################################### tagged_strings: { raw: #raw"this is \n raw"# esc: #esc"this is \n esc"# txt: #txt"this is \n txt"# } included_string: @include("text-file.txt") data_by_path_str: @include("text-file.txt") data_inline_str: "inline string" opt_i32_set: 99 full_path: "/hello/world.txt" rel_path1: "hello/world.txt" rel_path2: "world.txt" name_only_path: "world.txt" valid_path_full: "/hello/world.txt" valid_path_rel: "hello/world.txt" valid_path_name: "world.txt" executable1: "logix" executable2: "/usr/bin/logix" dyn_array: [1, 1, 2, 2, 3, 3] fixed_array: [1, 2, 3] arc_map: { a: 16 } rc_map: { b: 54 } box_map: { c: 32 } }