# definitions for Hare include "c_comment.lang" label = "@fini|@init|@noreturn|@test" (keyword,normal,usertype) = `(\<(?:type))([[:blank:]]+)([[:alnum:]_]+)` preproc = '^use[[:blank:]]+([[:word:]]+)(::[[:word:]{}]*)*;' number = '\<[+-]?((0x[[:xdigit:]]+)|(0o[0-7]+)|(0b[01]+)|(([[:digit:]]*\.)? [[:digit:]]+([eE][+-]?[[:digit:]]+)?))(f32|f64)?(([iu](8|16|32|64)?)|z)?\>' number = "false|null|true" include "c_string.lang" keyword = "abort|alloc|append|as|assert", "break|case|const|continue", "def|defer|delete|else|export|for|free", "if|is|len|let|match|offset", "return|static|switch|type|use|yield|_" type = "bool|char|double|enum|f32|f64|fn", "i16|i32|i64|i8|int|nullable|rune|size|str", "struct|u16|u32|u64|u8|uint|uintptr|union|void" symbol = "~","%","^","*","(",")","-","+","=","[", "]","\\",":",";",",",".","/","&","<",">","\|" cbracket = "{|}|!|?" include "function.lang"

AltStyle によって変換されたページ (->オリジナル) /