847
submitted 1 week ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 113 points 1 week ago

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 1 week 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)
this post was submitted on 05 Jul 2024
847 points (98.0% liked)

Programmer Humor

31329 readers
18 users here now

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

Rules:

founded 4 years ago
MODERATORS