That's awful.

This reminds me of the SSF or Shakti Standard Format. It looks like XML on the outside, but inside you find numbered lists in CDATA sections, nested parentheses, and when needed, values separated by colons and slashes and equal signs whenever someone felt they needed another level of a structure. If I remember correctly, there were 8 different types of markup, one of them even using < without quoting, making the files ill-formed XML.

<Sentence id="8"> 1 (( NP <drel=k2:3> 1.1 biddalni NN )) 2 (( VGNF <drel=vmod:1/name=3> 2.1 kanetappudu VM )) 3 (( NP <drel=nmod:2> 3.1 eVMwo INTF 3.2 maMxi CL )) 4 (( NP <drel=k1:1/name=2> 4.1 wallulu NN )) 5 (( VGF <name=1> 5.1 canipowunnAru VM 5.2 . SYM )) </Sentence>

Do you see the :X parts? They are in fact references to the name=X "anchors"!

Why do I know? I needed to convert some of their data into a different format. Thankfully, I could use Perl and regexes. Tears of joy.

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

In reply to Re: SVG - what were they smoking? by choroba
in thread SVG - what were they smoking? by afoken

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.