TMYCIN is written in Common Lisp and is fairly small (11 pages of code). It should run under any implementation of Common Lisp.
You can download Gnu Common Lisp for Linux or for Windows.
Two example expert systems are furnished: a very small set of rules for identifying rocks, and a small set of rules for identifying Texas snakes.