Prototype for creating Graal IR from Lancet.