<commit_before>" Vim syntax file
" Language:	EDL
" Maintainer:	<NAME> (Savoury SnaX) <EMAIL>
" Last Change:	2011 July 21

" Quit when a (custom) syntax file was already loaded
if exists("b:current_syntax")
  finish
endif

syn keyword	edlReserved		DECLARE ALIAS HANDLER STATES STATE IF NEXT PUSH POP INSTRUCTION EXECUTE ROR ROL MAPPING
syn keyword	edlDebugReserved	DEBUG_TRACE BASE

syntax match 	edlCurlyError	"}"
syntax region	edlBlock	start="{" end="}" contains=ALLBUT,edlCurlyError fold

syntax match	edlString	"\".\{-}\""
syntax match	edlComment	"#.*"
syntax match	edlHexNumber	"\$[0-9a-fA-F]\+"
syntax match	edlDecNumber	"^[a-zA-Z_][0-9]\+"
syntax match	edlBinNumber	"%[0-1]\+"

hi def link edlReserved 	Statement
hi def link edlDebugReserved 	Statement
hi def link edlCurlyError	Error
hi def link edlComment		Comment
hi def link edlHexNumber	Number
hi def link edlDecNumber	Number
hi def link edlBinNumber	Number
hi def link edlString		String

let b:current_syntax = "edl"

" vim: ts=8<commit_msg>some fixes for vim syntax highlighting + extra reserved words.<commit_after>" Vim syntax file
" Language:	EDL
" Maintainer:	<NAME> (Savoury SnaX) <EMAIL>
" Last Change:	2011 July 21

" Quit when a (custom) syntax file was already loaded
if exists("b:current_syntax")
  finish
endif

syntax match	edlComment	"#.*"

syn keyword	edlReserved		DECLARE ALIAS HANDLER STATES STATE IF NEXT PUSH POP INSTRUCTION EXECUTE ROR ROL MAPPING AFFECT AS ZERO SIGN PARITYODD PARITYEVEN CARRY BIT
syn keyword	edlDebugReserved	DEBUG_TRACE BASE

syntax match 	edlCurlyError	"}"
syntax region	edlBlock	start="{" end="}" contains=ALLBUT,edlCurlyError fold

syntax match	edlIdentifier	"[a-zA-Z_][a-zA-Z_0-9]*"

syntax match	edlString	"\".\{-}\""
syntax match	edlHexNumber	"\$[0-9a-fA-F]\+"
syntax match	edlBinNumber	"%[0-1]\+"
syntax match	edlDecNumber	"\d\+"

hi def link edlReserved 	Statement
hi def link edlDebugReserved 	Statement
hi def link edlCurlyError	Error
hi def link edlComment		Comment
hi def link edlHexNumber	Number
hi def link edlDecNumber	Number
hi def link edlBinNumber	Number
hi def link edlString		String

let b:current_syntax = "edl"

" vim: ts=8
{'fraction_non_alphanumeric': 0.08802980903586399, 'fraction_numerical': 0.012109920819748486, 'mean_word_length': 5.033707865168539, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1926333', 'n_tokens_mistral': 842, 'n_tokens_neox': 787, 'n_words': 267}