[Parser] Fixed define bugs, added fd2d.okl example