Fellow software engineers and others,
I've always played around with the UWP's format, adding a field here, compressing a field there, moving things around, just to see what might work. Needless to say, I've had more failures than successes.
My latest idea is encoding system data. I've always wanted a format that resembles the extended system data found in the back of Book 6, Module 8, and so on -- something that faithfully represents a set of Traveller data for an entire system which is also very human-friendly.
Today, I'm considering YAML, a compact, human-friendly data serialization format which modern dynamic languages can parse relatively easily (and other languages can parse somewhat less easily).
Rather than bore you further, I'll post a sample.
</font><blockquote>code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">0921:
uwp: Hrunting 0921 B463747-9 M Ri 313 Sw M V :0922
system:
- Hrin 0.0 M V
- Naga 0.4 Y200000-0 Va 0 Sw:
- Aba 20 Y000000-0 As 0 Sw
- Ningul 45 Y000000-0 As 0 Sw
- Hrunting 1.0 B463747-9 M Ri 3 Sw:
- Niddhog 200 Y100100-9 Va 1 Sw
- Tyr 2.0 C000447-9 M Belt 4 Sw
- Friye 4.0 YF00000-0 LGG 0 Sw:
- Friye 1 40 Y100000-0 Va 0 Sw
- Friye 2 80 Y200000-0 Va 0 Sw
- Friye 3 120 Y200000-0 Va 0 Sw
- Friye 4 150 Y200000-0 Va 0 Sw
- Friye 5 200 Y000000-0 As 0 Sw</pre>[/QUOTE]
I've always played around with the UWP's format, adding a field here, compressing a field there, moving things around, just to see what might work. Needless to say, I've had more failures than successes.
My latest idea is encoding system data. I've always wanted a format that resembles the extended system data found in the back of Book 6, Module 8, and so on -- something that faithfully represents a set of Traveller data for an entire system which is also very human-friendly.
Today, I'm considering YAML, a compact, human-friendly data serialization format which modern dynamic languages can parse relatively easily (and other languages can parse somewhat less easily).
Rather than bore you further, I'll post a sample.
</font><blockquote>code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">0921:
uwp: Hrunting 0921 B463747-9 M Ri 313 Sw M V :0922
system:
- Hrin 0.0 M V
- Naga 0.4 Y200000-0 Va 0 Sw:
- Aba 20 Y000000-0 As 0 Sw
- Ningul 45 Y000000-0 As 0 Sw
- Hrunting 1.0 B463747-9 M Ri 3 Sw:
- Niddhog 200 Y100100-9 Va 1 Sw
- Tyr 2.0 C000447-9 M Belt 4 Sw
- Friye 4.0 YF00000-0 LGG 0 Sw:
- Friye 1 40 Y100000-0 Va 0 Sw
- Friye 2 80 Y200000-0 Va 0 Sw
- Friye 3 120 Y200000-0 Va 0 Sw
- Friye 4 150 Y200000-0 Va 0 Sw
- Friye 5 200 Y000000-0 As 0 Sw</pre>[/QUOTE]