I am trying to understand the syntax grammar theme behavior.
I read some topics but I still have questions.
Is Atom offer another way to color part of code, let’s say dynamically or anyway the grammar has to be implemented with regex ?
As I understood, begin and end have to be match/non capturing group. (except if we use beginCapturing or endCapturing)
And pattern has to be a capturing group.
In that case, how to use nested code ?
if () begin end else if () being if () begin //blabla end end else if () begin end
How can I find the corresponding end to the first if ?
If it possible to include the pattern itself, kind of recursive pattern ?
I would like to catch some basic errors in order to save time later.
Example: If I forget a
end or if I forget a