view samples/compilerbug_003.tp @ 364:e44f65abaf0e

Support labels in non-branch instructions. String literals now work and so does the llhello sample
author Michael Pavone <pavone@retrodev.com>
date Sun, 26 Apr 2015 11:16:14 -0700
parents 86ebdfb33711
children
line wrap: on
line source

{
	foo <- { 42 }
	#{
		qux <- foo:
		bar <- #{
			
			baz <- {
				foo:
			}
			
		}
		
		main <- {
			print: (string: (bar baz))
		}
	}
}