välikoodiin
Välikoodiin, often translated as intermediate code or sometimes mid-level code, is a representation of source code that falls between the high-level source language and the low-level machine code. It is typically generated by a compiler during the compilation process. The primary purpose of välikoodiin is to decouple the front-end (parsing and semantic analysis of the source language) from the back-end (code generation for a specific target architecture).
There are various forms of välikoodiin, including three-address code, abstract syntax trees (ASTs), and stack-based intermediate
The use of välikoodiin offers several advantages. It simplifies the design of compilers, as the front-end can