The opening tag is popped from the token queue using some code that canonicalizes case and the closing tag is popped from the token queue using a read_till(some literal string). The code surrounding and used by these is an utter mess (the hyphen bullet code ruins everything) so I'll just fix this when I rewrite the parser.

The plural form of 'octopus' is formed by totalling the number of legs in the overall group, convert that into a numeric Greek prefix and add 'pus'. For example, 3 octopese would be 24 legs, so that's an 'Icosatesserapus'. Two octopese eating a one-legged diver would be a 'Heptadecipus'.