1. A state transition table defining a plurality of statements in a programming language, each statement defined by at least one token, comprising: a table defining an array of states; a plurality of sub-tables associated with said table, each sub-table corresponding to one of said plurality of statements and including at least one relocatable state that changes in response to said sub-table being assembled within said table, wherein each sub-table is a two-dimensional array defining an action for at least one token in at least one state; and a software module operable to output a state in response to an input, wherein the table, plurality of sub-tables, and software module are stored on a computer.