Primitive functions

Includes digital logic primitive injection!
#FeatureEnvy This should probably actually be in `org.manifold.compiler.front`. Later, of course.