Syntax validator

We would like to create one editor .Which should validate the syntax.

It should validate if, else,and, or,curry brackets,{},>, etc.

What’s the question? Are you announcing something?