Toy brainf**k interpreter; example app that can be modified without restarting
on.mouse_press = function(x,y, mouse_button)
	if x < In.editor.right then
		Cursor = In
		edit.mouse_press(Cursor.editor, x,y, mouse_button)
	elseif x < Code.editor.right then
		if y < App.screen.height/2 then
			Cursor = Code
			edit.mouse_press(Cursor.editor, x,y, mouse_button)
		else
			Cursor = Data
		end
	else
		Cursor = Out
		edit.mouse_press(Cursor.editor, x,y, mouse_button)
	end
end