" Vim syntax file;
" Language:	Telos
" Maintainer:   You
" Last Change:	2000 Mar 14
"
" Original Version: Michael Higginson (higg@cs.toronto.edu)
" 
" This syntax file does not do a good job describing the language of Telos.
" But, at the very least, it can recognize comments.

" Remove any old syntax stuff hanging around
syn clear

" Comment.  I think this just anything after a # that's not in a string.
syn match telosHashComment "#.*"
syn match telosSlashComment "//.*"

" Identifiers.  I don't know what's a valid identifier to be honest.
syn match   telosIdentifier	    "[a-zA-Z]*"

" Keywords
syn match   telosClassPlane	    "^\(Token\|SimpleClass\|\(Meta\)*Class\)"
syn keyword telosAttributeBaseType  String Integer
syn keyword telosKeyword	    IN ISA WITH END attribute


" Colours
if !exists("did_telos_syntax_inits")
    hi link telosIdentifier	    Identifier
    hi link telosHashComment	    telosComment
    hi link telosSlashComment	    telosComment
    hi link telosComment	    Comment
    hi link telosClassPlane	    Type
    hi link telosAttributeBaseType  Type
    hi link telosKeyWord	    Label
endif
