> So then is the recursive descent parser mentioned language-independent or language-dependent?
The parser is language-independent, but the tokenizer used by the parser looks up the tokens of syntax highlighting to decide if a bracket character is an opening/closing bracket or just text.