A Balsa string is a sequence of zero or more characters belonging to the US-ASCII set (Figure ). The internal structure of a string reflects a depth-first traversal of the corresponding molecular graph. As such, the syntax supports all of the features of a molecular tree, including branches, cycles, and disconnected components.