1
1
123qwe2015-08-15 15:09:56
ruby
123qwe, 2015-08-15 15:09:56

Difference between preprocessor and compiler/interpreter?

Let's take 3 interchangeable languages. (I'm not sure if they are interchangeable)
Why is PHP spoken of as an html preprocessor, while python and ruby ​​are runtimes.
There is something definitely not right here.
All three languages ​​have an interpreter, right? But only PHP has a preprocessor.
What are their key differences? These languages.
I will attach a link where what I wrote is said by a more experienced person.
https://www.youtube.com/watch?v=mvmiibrpY7M
Time - 22:39

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Ukolov, 2015-08-15
@Yonghwa

PHP does not have a preprocessor, php is an html preprocessor ( PHP: Hypertext Preprocessor )
And the author of the video, most likely, says that php dies after execution, and ruby ​​and python programs are constantly running.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question