Pre-compiling syntax, string parent and ancestor keys