Demo of an experimental lua-based markup language
A = function()
	local font = love.graphics.newFont(scale(20))
	love.graphics.setFont(font)  -- editor objects implicitly depend on current font
	-- translate Page and Page2 to Surface
	Surface = {}
	local red = false
	for x=-1000,2000,300 do
		for y=-10000,10000,200 do
			add_thick_line({type='line', data={x,y, x+200,y+200, x,y+400}, r=red and 1 or 0,g=red and 0 or 0.5,b=0}, 10)
			red = not red
		end
	end
	compute_layout(Page, Page.x,Page.y, Surface, font)
	compute_layout(Page2, Page2.x,Page2.y, Surface, font)
	-- continue the pipeline
	B(font)
	-- TODO: ugly that we're manipulating editor objects twice
end