In lots of textbooks and papers, authors often state: compiler emits ...
I want to know why they prefer to use emit? (not return, not produce)
Does this have anything to do with the emitter of a compiler?
thanks
Computer Science Stack Exchange is a question and answer site for students, researchers and practitioners of computer science. It only takes a minute to sign up.
Sign up to join this communityIn lots of textbooks and papers, authors often state: compiler emits ...
I want to know why they prefer to use emit? (not return, not produce)
Does this have anything to do with the emitter of a compiler?
thanks
It is mostly used in the sense of "writing instructions to the program being built". Note that what is being "emitted" might still be massaged before ending up in the compiler output.