]> git.lizzy.rs Git - micro.git/blob - runtime/syntax/scala.micro
adding hexidecimal numbers to the existing C syntax rules
[micro.git] / runtime / syntax / scala.micro
1 ## Here is an example for Scala.
2 ##
3 syntax "scala" "\.scala$"
4 color green "\<(boolean|byte|char|double|float|int|long|new|short|this|transient|void)\>"
5 color red "\<(match|val|var|break|case|catch|continue|default|do|else|finally|for|if|return|switch|throw|try|while)\>"
6 color cyan "\<(def|object|case|trait|lazy|implicit|abstract|class|extends|final|implements|import|instanceof|interface|native|package|private|protected|public|static|strictfp|super|synchronized|throws|volatile|sealed)\>"
7 color red ""[^"]*""
8 color yellow "\<(true|false|null)\>"
9 color blue "//.*"
10 color blue start="/\*" end="\*/"
11 color brightblue start="/\*\*" end="\*/"
12 color ,green "[[:space:]]+$"