the-language icon indicating copy to clipboard operation
the-language copied to clipboard

syntax coloring for functions not consistent

Open shiMusa opened this issue 3 years ago • 3 comments

image

The syntax coloring for the functions is inconsistent, e.g. is_complex_number is recognized as a function, while is_non_real_number is white (and not recognized as a function?). Similar, get_number_inner_type is not recognized as a function, maybe because of #run? Note: this is untested code and might have some errors. Cheers :)

shiMusa avatar Nov 30 '21 23:11 shiMusa

Yeah, its the parens that are throwing it off. The grammar file needs a rewrite, but I'm waiting until after either the syntax pass happens or the first release.

onelivesleft avatar Dec 01 '21 09:12 onelivesleft

image image Newlines have a role to play too.

GufNZ avatar Jul 20 '23 02:07 GufNZ

Slightly related, this one looks like a greedyness issue: image

GufNZ avatar Jul 20 '23 02:07 GufNZ