+ 1

How computers understand programming language ?

24th Jan 2018, 8:25 PM
Avinash Nadkar
Avinash Nadkar - avatar
2 Antworten
+ 2
they get parser using the languages grammar to check if the code is valid. then it can be converted to code your computer can work with aka 1s and 0s
24th Jan 2018, 8:28 PM
Jeremy
Jeremy - avatar
+ 1
Or, alternatively, if the program is interpreted (like Python), another program (which is 1s and 0s) reads the code and executes it instead of it being executed directly by the processor. That's important for languages such as JavaScript: the server feeds the code directly to the browser, which then executes, instead of the server executing the code and then feeding the result to the browser.
24th Jan 2018, 9:03 PM
Vlad Serbu
Vlad Serbu - avatar