Closed ghost closed 3 years ago
Tree-sitter parsers are more targeted towards syntax and code constructs, so all those intrinsic procedures as well as user defined functions fall under the general "call statement" rule. See: https://github.com/stadelmanma/tree-sitter-fortran/blob/68786b2bee892137c3b735df836eabbe25361745/grammar.js#L878
I think some of the atom syntax highlighting stuff has provisions for highlighting specific keywords from the general AST output by the parser but I never looked into it.
I was looking for grammar rules for intrinsic fortran procedures (listed here), but didn't find any. Should we add it?