Loosely matching rhymes for memory-resident program