Topological Grammar Compiler (TGC) is a tool for compiling topological grammars into Prolog code. The grammar should comply by the specifications formulated in Penn and Haji-Abdolhosseini (2002). The output of the compiler is a parser in Prolog and is based on the grammatical rules and the lexicon provided in the input file. There are however several differences between the specifications in Penn and Haji-Abdolhosseini (2002) and what TGC assumes. These differences are described in pertinent sections throughout this guide.