this post was submitted on 05 Jul 2024
864 points (97.9% liked)

Programmer Humor

32375 readers
1460 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 120 points 4 months ago (29 children)

It uses XML-like syntax:

<fun>
  <name>sum</name>
  <in>
    <int>foo</int>
    <int>bar=0</int>
  </in>
  <out><int>foo+bar</int></out>
</fun>
[–] [email protected] 4 points 4 months ago

The tag indentation is a required part of the syntax and don’t forget colons at the end of the tag

load more comments (28 replies)