noun
main routine
In programming, the primary sequence of instructions that controls overall execution; often contrasted with subroutines.
プログラムのメインルーチンから各サブルーチンを呼び出す。
Call each subroutine from the program's main routine.
Variant with interpunct; less common in running text but seen in technical documentation.
A subroutine is a secondary routine called by the main routine; メインルーチン is the top-level controller.
Loanword from English 'main routine'.