Text this: Synthesis and optimization of digital circuits