# JOE syntax highlight file for N3 by Earle Martin. # Version 0.1, 2008-09-01. # TODO: prefixes in file body, "a", "=", "[...]" amongst other things. - # Define colors =Idle =Keyword cyan =Label red =Literal bold =Instance red =URI bold cyan =Comment green =None :begin Idle * begin noeat call=.n3() .subr n3 :reset None * reset "\"" literal_block recolor=-1 "@" keyword_block recolor=-1 "#" comment recolor=-1 "<" uri_block :comment Comment * comment "\n" reset noeat :literal_block Literal * literal_block "\"" maybe_end_literal :maybe_end_literal Literal "@" lang_block * reset :lang_block Keyword " " reset ";" reset "." reset "\n" reset * lang_block :keyword_block Keyword * keyword_block " " keyword_label :keyword_label Label * keyword_label ":" reset noeat :uri_block URI * uri_block ">" reset noeat