- 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
12 lines
235 B
Plaintext
12 lines
235 B
Plaintext
.{
|
|
.name = "example",
|
|
.version = "1.0.0",
|
|
.dependencies = .{
|
|
.lib1 = .{
|
|
.url = "https://example.com/lib1.tar.gz",
|
|
.hash = "abcdef123456",
|
|
},
|
|
},
|
|
.tags = .{ "tag1", "tag2" },
|
|
}
|