How programming language is programmed?
0 08 Mar 2019 17:42 by u/Conspirologist
How programming language is programmed? How exactly a computer understands the programming language, if there is no language programmed for programming yet?
0 08 Mar 2019 17:42 by u/Conspirologist
How programming language is programmed? How exactly a computer understands the programming language, if there is no language programmed for programming yet?
17 comments
0 u/cool_and_froody 08 Mar 2019 17:45
Using lower level languages?
Built up from the 1s and 0s
0 u/Conspirologist [OP] 08 Mar 2019 17:46
Ok. How the computer gets the 01 language without previous programming?
0 u/cool_and_froody 08 Mar 2019 17:49
1s and 0s are electrical signals. On and off. They control when power is diverted around the hardware.
0 u/Conspirologist [OP] 08 Mar 2019 17:51
OK. You steel need to explain what 1 and 0 mean to the computer.
0 u/cool_and_froody 08 Mar 2019 17:54
I just did? Read it again.
Or Google it.
0 u/StoneRights 08 Mar 2019 18:15
https://www.youtube.com/watch?v=cNN_tTXABUA
0 u/Conspirologist [OP] 08 Mar 2019 18:19
Thanks.
0 u/The_Venerable 08 Mar 2019 17:47
Assembly language. Each instruction in assembly translates to a unique bunch of 0s and 1s. When a processor reads that particular combination of 0s and 1s, it does a corresponding operation.
0 u/Conspirologist [OP] 08 Mar 2019 17:48
OK. How the assembly language was programmed?
0 u/The_Venerable 08 Mar 2019 17:54
When a company like Intel or AMD manufacture their processor, they design it to perform particular actions like add, move, multiply, etc for a particular combination of voltages(1's and 0's).
0 u/Conspirologist [OP] 08 Mar 2019 18:03
OK. Thanks.
0 u/justlogin 08 Mar 2019 20:09
You should look up "Compiler Construction".
There do exist languages intended for this or parts of this (i.e. flex, bison etc) but a compiler/interpreter can be written in most any programming language.
The author of this ebook is popular on Reddit /r/programming... It's actually fairly good. :/
0 u/Conspirologist [OP] 08 Mar 2019 20:11
Thanks a lot.
0 u/roznak 08 Mar 2019 21:25
Altair 8800 - Video #2 - Front Panel Programming
https://www.youtube.com/watch?v=EV1ki6LiEmg
0 u/roznak 08 Mar 2019 21:34
MITS Altair 8800 Computer - December 1974
https://www.youtube.com/watch?v=i8znuGj_yUY
0 u/roznak 08 Mar 2019 21:39
A re-tracing of how Paul Allen loaded BASIC on the MITS Altair 8800 from paper tape
https://www.youtube.com/watch?v=2wEyqJnhec8
0 u/jennifertoddner 15 Mar 2019 14:58
Earlier I learn JavaScript. I great language for start