Conversion library and mapping compiler