+ 2

How are keywords made

Any explicit knowledge on how c++ keywords are made, example the goto keyword or the virtual key word. Or if you have idea in other programming language, I did like to know.

16th Dec 2017, 4:09 PM
Germain F
Germain F - avatar
1 Odpowiedź
0
Compilers for languages like c++, or interpreters for script languages, are programs that read the source code (text file) and change it into binary that the computer can execute. So. in a nutshell, someone decided what the keywords mean, and the compiler is written accordingly. Google "How to write a compiler" if you are interested.: -)
17th Dec 2017, 6:29 AM
ifl
ifl - avatar