parse singletons

tested with the given test file, not currently outputting anything, just storing them to variables.