14 lines
		
	
	
		
			266 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
		
		
			
		
	
	
			14 lines
		
	
	
		
			266 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
|   | ".source.prolog": | ||
|  |   DCG: | ||
|  |     prefix: "dcg" | ||
|  |     body: "${1:clause} --> ${0:body}." | ||
|  |   Fact: | ||
|  |     prefix: "fact" | ||
|  |     body: "${1:functor_name}(${2:argument})." | ||
|  |   Rule: | ||
|  |     prefix: "rule" | ||
|  |     body: ''' | ||
|  |       ${1:functor_name}(${2:argument}) :- | ||
|  |       	${0:%% body} | ||
|  |     ''' |