 				throw SyntaxError.unknownSequence(from: String(word[startIndex...]))
 			}
 			
-			let firstMatchString = String(word[firstMatchRange])
+			//let firstMatchString = String(word[firstMatchRange])
 			
 			//TODO: Do not cut string, just instruct subsequent calls to only search after match range
 			// This would also improve performance

			}
			
			if let firstMember = memberRows[0] {
				throw SyntaxError.unmatchedPattern(pattern: cykTable[0][firstMember+1][0], location: firstMember+1)
			} else {
				throw SyntaxError.unmatchedPattern(pattern: cykTable[0][0][0], location: 0)
			}
		}
		return syntaxTree


enum SyntaxError: Error {
	case unknownSequence(from: String)
	case unmatchedPattern(pattern: Tree<NonTerminal, Range<String.Index>>)
	case emptyWordNotAllowed
}

