Osmand PCB, a PCB layout program for the Mac, supports Lua scripting. Osmand has free and low cost versions, and is for layout only (no schematic capture).http://www.osmondpcb.com/index.html