Tips on how to parse custom file format
问题 Sorry about the vague title, but I really don't know how to describe this problem concisely. I've created a (more or less) simple domain-specific language that I will to use to specify what validation rules to apply to different entities (generally forms submitted from a web page). I've included a sample at the bottom of this post of what the language looks like. My problem is that I have no idea how to begin parsing this language into a form I can use (I will be using Python to do the