TeX is a system for computer typesetting developed by Donald Knuth and fostered by a large user community. While lacking a GUI in its native form (several projects and products have provided this extension), it generates nearly perfectly typeset copy.
The base system can be extended by user defined macros and commands which make TeX more of a language to typeset language more than anything.