ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

What's the difference between one-pass compiler and multi-pass compiler?

user-image
تم إضافة السؤال من قبل مستخدم محذوف‎
تاريخ النشر: 2014/08/07
Emad Mohammed said abdalla
من قبل Emad Mohammed said abdalla , ERP & IT Software, operation general manager . , AL DOHA Company

  1. A one-pass compiler is a compiler that passes through the source code of each compilation unit only once. A multi-pass compiler is a type of compiler that processes the source code or abstract syntax tree of a program several times.
  2. A one-pass compilers is faster than multi-pass compilers
  3. A one-pass compiler has limited scope of passes but multi-pass compiler has wide scope of passes.
  4. Multi-pass compilers are sometimes called wide compilers where as one-pass compiler are sometimes called narrow compiler.
  5. Many programming languages cannot be represented with a single pass compilers, for example Pascal can be implemented with a single pass compiler where as languages like Java require a multi-pass compiler.

Junaid Saleem
من قبل Junaid Saleem , System Analyst , Knight Group

simply one pass compiler is atransaltor which we using in GW-Basic and old language

and multipass compliler is compiler