METAPOST seems to be similarly stable, and has an interesting programming/math model (DEK keeps it open in window and uses it (or METAFONT which it is based on?) for interactive math).