Source

Hello world:

	trylon hello-world

	main: arguments
		send: "Hello world!"

Or, using a new class:

	trylon hello-world

	class Halloer
		say-it
			send: "Hello!"
	
	main: arguments
		halloer = Halloer new
		halloer say-it


Tags: language   object   native  

Last modified 24 August 2021