Created
September 8, 2013 04:44
-
-
Save muupan/6481900 to your computer and use it in GitHub Desktop.
A sintax file for Game Description Language (GDL) in Knowledge Interchange Format (KIF).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" A sintax file for Game Description Language (GDL) in Knowledge | |
" Interchange Format (KIF). | |
" | |
" Put this file in .vim/syntax/ and and add set filetype gdl-kif | |
" Example: | |
" au BufRead,BufNewFile *.kif set filetype=gdl-kif | |
syntax region gdlKifLineComment start=+;+ end=+$+ | |
syntax match gdlKifArrow '<=' | |
syntax keyword gdlKifFactRelation base init true next | |
syntax keyword gdlKifActionRelation input legal does | |
syntax keyword gdlKifRoleRelation role | |
syntax keyword gdlKifTemporalRelation goal terminal | |
syntax keyword gdlKifGeneralRelation not or distinct | |
syntax match gdlKifVariable '?\w\+' | |
highlight default link gdlKifLineComment Comment | |
highlight default link gdlKifArrow Operator | |
highlight default link gdlKifFactRelation Conditional | |
highlight default link gdlKifActionRelation Repeat | |
highlight default link gdlKifRoleRelation Keyword | |
highlight default link gdlKifTemporalRelation Keyword | |
highlight default link gdlKifGeneralRelation Operator | |
highlight default link gdlKifVariable Identifier |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment