No macros or compilers per se. There are map editors that allow you to make copies of existing groups of blocks, like replicating seven-segment displays.
There are not really any repositories of existing designs, so the logic was probably all done 'by hand'.