Twelf is an implementation of the logical framework LF. It is used for logic programming and for the formalization of programming language theory. standardml/twelf