Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
esterel.vim79 linesDownload Raw Back to syntax
1" Vim syntax file2" Language:			ESTEREL3" Maintainer:		Maurizio Tranchero <maurizio.tranchero@polito.it> - <maurizio.tranchero@gmail.com>4" Credits:			Luca Necchi	<luca.necchi@polito.it>, Nikos Andrikos <nick.andrik@gmail.com>5" First Release:	Tue May 17 23:49:39 CEST 20056" Last Change:		Tue May  6 13:29:56 CEST 20087" Version:			0.88 9" quit when a syntax file was already loaded10if exists("b:current_syntax")11  finish12endif13 14" case is significant15syn case ignore16" Esterel Regions17syn region esterelModule					start=/module/		end=/end module/	contains=ALLBUT,esterelModule18syn region esterelLoop						start=/loop/		end=/end loop/		contains=ALLBUT,esterelModule19syn region esterelAbort						start=/abort/		end=/when/			contains=ALLBUT,esterelModule20syn region esterelAbort						start=/weak abort/	end=/when/			contains=ALLBUT,esterelModule21syn region esterelEvery						start=/every/		end=/end every/		contains=ALLBUT,esterelModule22syn region esterelIf						start=/if/			end=/end if/		contains=ALLBUT,esterelModule23syn region esterelConcurrent	transparent start=/\[/			end=/\]/			contains=ALLBUT,esterelModule24syn region esterelIfThen					start=/if/			end=/then/			oneline25" Esterel Keywords26syn keyword esterelIO			input output inputoutput constant27syn keyword esterelBoolean		and or not xor xnor nor nand28syn keyword esterelExpressions	mod pre29syn keyword esterelStatement	nothing halt30syn keyword esterelStatement	module signal sensor end31syn keyword esterelStatement	every do loop abort weak32syn keyword esterelStatement	emit present await33syn keyword esterelStatement	pause when immediate34syn keyword esterelStatement	if then else case35syn keyword esterelStatement	var in  run  suspend36syn keyword esterelStatement	repeat times combine with37syn keyword esterelStatement	assert sustain38" check what it is the following39syn keyword esterelStatement	relation						40syn keyword esterelFunctions	function procedure task41syn keyword esterelSysCall		call trap exit exec42" Esterel Types43syn keyword esterelType 		integer float bolean44" Esterel Comment45syn match esterelComment		"%.*$"46" Operators and special characters47syn match esterelSpecial		":"48syn match esterelSpecial		"<="49syn match esterelSpecial		">="50syn match esterelSpecial		"+"51syn match esterelSpecial		"-"52syn match esterelSpecial		"="53syn match esterelSpecial		";"54syn match esterelSpecial		"/"55syn match esterelSpecial		"?"56syn match esterelOperator		"\["57syn match esterelOperator		"\]"58syn match esterelOperator		":="59syn match esterelOperator		"||"60syn match esterelStatement		"\<\(if\|else\)\>"61syn match esterelNone			"\<else\s\+if\>$"62syn match esterelNone			"\<else\s\+if\>\s"63 64" Class Linking65 66hi def link esterelStatement		Statement67hi def link esterelType			Type68hi def link esterelComment		Comment69hi def link esterelBoolean		Number70hi def link esterelExpressions	Number71hi def link esterelIO			String72hi def link esterelOperator		Type73hi def link esterelSysCall		Type74hi def link esterelFunctions		Type75hi def link esterelSpecial		Special76 77 78let b:current_syntax = "esterel"79 
codekingpro/portable-devtools · Team Ai