Relation between REPL, interpreter and compiler -


From

:

REPL is commonly known as an interpreter Wrong name - There are REPLs in many programming languages ​​that use compilation (including bytecode compilation), such as common Lisp and Python.

to

Using interactive interpreter REPLs, an interpreter does not have to have one. For example, you can run python, for example , In a non-interactive mode (on a file) and it will not use a reading-eval-print loop.

I was wondering if REPL [del] always exists [/ del] exists for an interpreter? Does Wikipedia say that REPL is also present for the compiler? If so, how is it?

Thanks and connection!

By interpreter, I mean execution execution immediately after compilation.

I'm not sure that you are asking for the commonly used words or something else .

In any case, read REPL one Eval print loop (see the first letter). If you have an interpreter who does not read or evaluate your program (i.e., "understand what you want to do and do it") or do not print the results anywhere, then what is good?

If you will not see anything and will not listen to it, then you will not do what you want anyway or you only try 1 that you can put rock on the table rather than a computer.

Probably a strange thing, as opposed to the word like "If it only changes an icon that is displayed, is it really printing?" And such :-) or "If this is not reading with the keyboard, is it really reading?" True pure philosophy, in fact, really

Is it true that some systems respond differently whether you read them from a keyboard or a file? I'm not sure what the use is, but I think you are human (ie Command etc.), when he is actually typing on the keyboard.

Perhaps some more do not accept reading from a file compared to 1 expression?

I was wondering if RPL is always present for an interpreter?

I interpret this definition of "interpreter" if you take it (in practical sense) to mean, "something that I do", no. If you do not tell it, how will you tell it?

Does Wikipedia say that REPL is also present for the compiler? If so, how is it?

Yes, of course. All Lisp systems are like that they actually feel like an interpreter, but the content magically becomes intensely over time because the system learns how you automatically learn the phrase and what changes And what not only changes in machine code

Java also does it nowadays, now your VM session is high and it shows how to grow things fast and if you stop changing things then eventually the whole program will run in the machine code Will end in

The entire artificial distinction of the interpreter / compiler came in integral, i.e. due to lack of resources in the day.

Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -