abstract:In computer programming, a one-pass compiler is a compiler that passes through the parts of each compilation unit only once, immediately translating each part into its final machine code. This is in contrast to a multi-pass compiler which converts the program into one or more intermediate representations steps in between source code and machine code, and which reprocesses the entire compilation unit in each sequential pass.
Onebigadvantageoftype-inferredsystemsis that you don'tneed to declarethetypes of arguments to a functionbecausethe compilerinfers themfrom the parameters you pass in.