mirror of
				https://github.com/KevinMidboe/linguist.git
				synced 2025-10-29 17:50:22 +00:00 
			
		
		
		
	* Add Genie programming language Genie was introduced in 2008 as part of the GNOME project: https://wiki.gnome.org/Projects/Genie It is a programming language that uses the Vala compiler to produce native binaries. It has good bindings to C libraries especially those that are part of the GObject world such as Gtk+3 and GStreamer * Change color for Genie so tests pass
		
			
				
	
	
		
			13 lines
		
	
	
		
			224 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			224 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| init
 | |
| 	new Demo( "Demonstration class" ).run()
 | |
| 
 | |
| class Demo
 | |
| 	_message:string = ""
 | |
| 
 | |
| 	construct ( message:string = "Optional argument - no message passed in constructor" )
 | |
| 		_message = message
 | |
| 
 | |
| 	def run()
 | |
| 		print( _message )
 | |
| 		
 |