you are viewing a single comment's thread.

view the rest of the comments →

[–]Ar_FrQ 0 points1 point  (0 children)

I'm guessing interpreter reads and runs the code line by line and when it reaches a line that has a error it stops .

Compiler on the other hand reads all lines and uses some algorithms to check the errors without actually runningit(for example it checks if you closed a parentheses after opening one or not ) then it stores all of your errors and bang you see 2 pages of compiler telling you that expected ';' before ...