Custom Grammar


Hi everyone I am actually working on a compiler for SQL call SSQL. as I am new in atom. after some research i have discovered that its possible to make custom syntax highlight and grammar in atom. Then I wanted to know if one of you guys can help me to know how to highlight the syntax of my ssql file, create my own grammar and declare selected keyword as variable, string etc… in atom.


I have an annotated boilerplate grammar to make it easy to get started on new ones and remember what everything does. The best way to learn is to study smaller grammar files. I’ve made a few for people, and they’re all still up on my GitHub (here’s a good one).


thanks @DamnedScholar I will give you a feedback of what i have done. thanks again