paper about formalising parsing; seems to have done what we would like to do....probably also appears at ITP'11
(*
no_document use_thys ["This_Theory1", "This_Theory2"];
use_thys ["That_Theory1", "That_Theory2", "That_Theory3"];
*)
use_thy "ListP";
use_thys ["../Prefix_subtract", "../Myhill_1", "../Myhill_2"];