familyvur.blogg.se

How to make a computer program from java script
How to make a computer program from java script












  • If no error, the compiler will convert source code to machine code.
  • Compile will parse or analyses all of the language statements for its correctness.
  • Here are important difference between Compiler and Interpreter: Basis of difference Difference between Compiler and Interpreter Interpreters convert code into machine code when the program is run. However, a compiler will convert the code into machine code (create an exe) before program run. Both compiler and interpreters do the same job which is converting higher level programming language to machine code. This includes source code, pre-compiled code, and scripts. What is Interpreter?Īn interpreter is a computer program, which converts each high-level program statement into the machine code.

    how to make a computer program from java script

    So, if you make a mistake, you need to make changes in the syntax of your program. However, the compiler is only a program and can not fix errors found in that program.

    how to make a computer program from java script

    The computer processes the machine code to perform the corresponding tasks.Ī compiler should comply with the syntax rule of that programming language in which it is written.

    how to make a computer program from java script

    It is a program which translates the human-readable code to a language a computer processor understands (binary 1 and 0 bits). A compiler is a computer program that transforms code written in a high-level programming language into the machine code.














    How to make a computer program from java script