A tool for reading instrument code files and extracting their structure.
Find the minimum indentation level in chunk of text, and subtract that indentation from every line.
Break a line of text into tokens by comma, ignoring the comma if it appears in a string (that is, the text itself contains quotation marks).