By tosh - 4 hours ago
Showing first level comment(s)
I see some excitingly magical looking type "inference" happening though. That ruby code is sure that the value associated with Malaga is a lat/long pair is it? Not a temperature range, etc.? So, some very optimistic approach to types, no real way to validate content, and some quirky looking syntax (<key>: <value>, but also #<section>\n<key>: <value> apparently? If I have more than two levels?)
I'm not sure what this is for. I am pretty sure that those people using it are going to run up against a whole thrilling raft of edge cases...
kolektiv - 7 minutes ago
# cities
Den Haag: 52.069961, 4.302315
Málaga: 36.721447, -4.421291
Here, “cities” looks like a comment, but it is part of the syntax, otherwise this example code would not work: document.section('cities').lat_lng('Málaga')
The actual comment syntax is “>”: > comment
teddyh - 3 hours ago
If your aim is data representation, why not go for JSON, Lua table-notation or S-expressions? These do not need different syntax for sections, lists or field sets, but have very clear syntax for a few primary data structures, which you can them compose however you want.
jmaa - an hour ago
tosh - 2 hours ago
mstijak - 2 hours ago
FreeFull - 2 hours ago
nautilus12 - 33 minutes ago
moomin - 2 hours ago