Primitive functions

Includes digital logic primitive injection!
Yeah, I wondered why this class wasn't in `compiler.front` honestly.