what is difference between compiler & interpreter ?
Answers
Answered by
2
ᴄᴏᴍᴩʟɪᴇʀꜱ ᴀɴᴅ ɪɴᴛᴇʀᴩʀᴇᴛᴇʀꜱ ᴀʀᴇ ᴩʀᴏɢʀᴀᴍꜱ ᴛʜᴀᴛ ʜᴇʟᴩ ᴄᴏɴᴠᴇʀᴛ ᴛʜᴇ ʜɪɢʜ ʟᴇᴠᴇʟ ʟᴀɴɢᴜᴀɢᴇ (ꜱᴏᴜʀᴄᴇ ᴄᴏᴅᴇ) ɪɴᴛᴏ ᴍᴀᴄʜɪɴᴇ ᴄᴏᴅᴇꜱ ᴛᴏ ʙᴇ ᴜɴᴅᴇʀꜱᴛᴏᴏᴅ ʙy ᴛʜᴇ ᴄᴏᴍᴩᴜᴛᴇʀꜱ. ᴄᴏᴍᴩᴜᴛᴇʀ ᴩʀᴏɢʀᴀᴍꜱ ᴀʀᴇ ᴜꜱᴜᴀʟʟy ᴡʀɪᴛᴛᴇɴ ᴏɴ ʜɪɢʜ ʟᴇᴠᴇʟ ʟᴀɴɢᴜᴀɢᴇꜱ. ᴀ ʜɪɢʜ ʟᴇᴠᴇʟ ʟᴀɴɢᴜᴀɢᴇ ɪꜱ ᴏɴᴇ ᴛʜᴀᴛ ᴄᴀɴ ʙᴇ ᴜɴᴅᴇʀꜱᴛᴏᴏᴅ ʙy ʜᴜᴍᴀɴꜱ. ᴛᴏ ᴍᴀᴋᴇ ɪᴛ ᴄʟᴇᴀʀ, ᴛʜᴇy ᴄᴏɴᴛᴀɪɴ ᴡᴏʀᴅꜱ ᴀɴᴅ ᴩʜʀᴀꜱᴇꜱ ꜰʀᴏᴍ ᴛʜᴇ ʟᴀɴɢᴜᴀɢᴇꜱ ɪɴ ᴄᴏᴍᴍᴏɴ ᴜꜱᴇ – ᴇɴɢʟɪꜱʜ ᴏʀ ᴏᴛʜᴇʀ ʟᴀɴɢᴜᴀɢᴇꜱ ꜰᴏʀ ᴇxᴀᴍᴩʟᴇ. ʜᴏᴡᴇᴠᴇʀ, ᴄᴏᴍᴩᴜᴛᴇʀꜱ ᴄᴀɴɴᴏᴛ ᴜɴᴅᴇʀꜱᴛᴀɴᴅ ʜɪɢʜ ʟᴇᴠᴇʟ ʟᴀɴɢᴜᴀɢᴇꜱ ᴀꜱ ᴡᴇ ʜᴜᴍᴀɴꜱ ᴅᴏ. ᴛʜᴇy ᴄᴀɴ ᴏɴʟy ᴜɴᴅᴇʀꜱᴛᴀɴᴅ ᴛʜᴇ ᴩʀᴏɢʀᴀᴍꜱ ᴛʜᴀᴛ ᴀʀᴇ ᴅᴇᴠᴇʟᴏᴩᴇᴅ ɪɴ ʙɪɴᴀʀy ꜱyꜱᴛᴇᴍꜱ ᴋɴᴏᴡɴ ᴀꜱ ᴀ ᴍᴀᴄʜɪɴᴇ ᴄᴏᴅᴇ. ᴛᴏ ꜱᴛᴀʀᴛ ᴡɪᴛʜ, ᴀ ᴄᴏᴍᴩᴜᴛᴇʀ ᴩʀᴏɢʀᴀᴍ ɪꜱ ᴜꜱᴜᴀʟʟy ᴡʀɪᴛᴛᴇɴ ɪɴ ʜɪɢʜ ʟᴇᴠᴇʟ ʟᴀɴɢᴜᴀɢᴇ ᴅᴇꜱᴄʀɪʙᴇᴅ ᴀꜱ ᴀ ꜱᴏᴜʀᴄᴇ ᴄᴏᴅᴇ. ᴛʜᴇꜱᴇ ꜱᴏᴜʀᴄᴇ ᴄᴏᴅᴇꜱ ᴍᴜꜱᴛ ʙᴇ ᴄᴏɴᴠᴇʀᴛᴇᴅ ɪɴᴛᴏ ᴍᴀᴄʜɪɴᴇ ʟᴀɴɢᴜᴀɢᴇ ᴀɴᴅ ʜᴇʀᴇ ᴄᴏᴍᴇꜱ ᴛʜᴇ ʀᴏʟᴇ ᴏꜰ ᴄᴏᴍᴩɪʟᴇʀꜱ ᴀɴᴅ ɪɴᴛᴇʀᴩʀᴇᴛᴇʀꜱ.
Similar questions