interpreter

How does an interpreter/compiler work

风格不统一 提交于 2019-11-26 04:58:31
问题 How does an interpreter/compiler work? What is the difference between interpreter and compiler. 回答1: Compilers Compilers were the first sort of translator program to be written. The idea is simple: You write the program, then hand it to the compiler which translates it. Then you run the result. Interpreters An interpreter is also a program that translates a high-level language into a low-level one, but it does it at the moment the program is run. You write the program using a text editor or

Compiled vs. Interpreted Languages

ぐ巨炮叔叔 提交于 2019-11-26 01:09:42
问题 I\'m trying to get a better understanding of the difference. I\'ve found a lot of explanations online, but they tend towards the abstract differences rather than the practical implications. Most of my programming experiences has been with CPython (dynamic, interpreted), and Java (static, compiled). However, I understand that there are other kinds of interpreted and compiled languages. Aside from the fact that executable files can be distributed from programs written in compiled languages, are

Have you used any of the C++ interpreters (not compilers)? [closed]

喜你入骨 提交于 2019-11-26 00:59:01
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . I am curious if anyone have used UnderC, Cint, Cling, Ch, or any other C++ interpreter and could share their experience. 回答1: NOTE: what follows is rather CINT specific, but given that its probably the most widely used C++ interpreter it may be valid for them all. As a graduate student in particle physics who's

Is there an interpreter for C? [closed]

倾然丶 夕夏残阳落幕 提交于 2019-11-25 23:34:15
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . Locked . This question and its answers are locked because the question is off-topic but has historical significance. It is not currently accepting new answers or interactions. I was wondering if there is something like an interpreter for C. That is, in a Linux terminal I can type in \"python\" and then code in

Compiled vs. Interpreted Languages

穿精又带淫゛_ 提交于 2019-11-25 23:06:13
I'm trying to get a better understanding of the difference. I've found a lot of explanations online, but they tend towards the abstract differences rather than the practical implications. Most of my programming experiences has been with CPython (dynamic, interpreted), and Java (static, compiled). However, I understand that there are other kinds of interpreted and compiled languages. Aside from the fact that executable files can be distributed from programs written in compiled languages, are there any advantages/disadvantages to each type? Oftentimes, I hear people arguing that interpreted

Have you used any of the C++ interpreters (not compilers)? [closed]

て烟熏妆下的殇ゞ 提交于 2019-11-25 21:20:48
I am curious if anyone have used UnderC, Cint, Cling, Ch, or any other C++ interpreter and could share their experience. Shep NOTE: what follows is rather CINT specific, but given that its probably the most widely used C++ interpreter it may be valid for them all. As a graduate student in particle physics who's used CINT extensively, I should warn you away. While it does "work", it is in the process of being phased out , and those who spend more than a year in particle physics typically learn to avoid it for a few reasons: Because of its roots as a C interpretor, it fails to interpret some of