- Modify parser to handle ZON tuples (`.{ 1, 2, 3 }`) as arrays
- Update README with more detailed explanation of ZON tuple syntax
- Add multiple example ZON files demonstrating tuple usage
- Implement tuple parsing in `parser.py`
- Add test case for tuple parsing
7 lines
153 B
Plaintext
7 lines
153 B
Plaintext
.{
|
|
.simple_tuple = .{ 1, 2, 3 },
|
|
.string_tuple = .{ "one", "two", "three" },
|
|
.empty_tuple = .{""},
|
|
.mixed_tuple = .{ 1, "two", true },
|
|
}
|