First draft of syntax parser, which generates a validator given an object outline.