Forth: Very compact, fast, imperative programming language based on last-in first-out (LIFO) stacks. It can be characterized as an interpreted, stack-based, postfix notation, macro Assembly language. If stacks are an optimal representation for your problem, and you have tight hardware requirements, strongly investigate and consider Forth. Many
implementations exist, free and commercial.