+ 1

Programming language

how the programmer develop different type of programming language like C , Java etc . what should programmer know to develop such languages?

1st Mar 2018, 8:47 PM
Rooking Ewondo Sfuut
Rooking Ewondo Sfuut - avatar
4 Réponses
+ 2
For a compiled language, you must find a way to make binary language out of written code. This is very complicated. But there are also languages which are interpreted at run time. These are more easy to write, but not trivial at all. Possible approach: Start with a text based calculator which can do +-*/ and maybe %. Then let it read commands out of a file. Then add more and more features to it. Google and search on YouTube how to implement your interpreter, there are some common practices.
1st Mar 2018, 9:15 PM
Timon Paßlick
+ 2
just to add to @Shudarshan, in the begining the comands were passed as a series of switchs and cables, thats actually where the expression "bugs" come from(the bugs on the machine), then came the punched cards and finally the program language made so its easier for us to understand. now to develop a language you have to at least consider what kind language you want, if you gonna write based upon something or not, at least the cpu archteture, and so many other things
1st Mar 2018, 9:46 PM
capsloth
capsloth - avatar
+ 1
Computers can only understand electrical signals. For example, If light ON, it means 1. If light OFF, it means 0. In Mathematics, Binary is a concept where we can only represent 0’s and 1’s. Computer scientists used Binary to represent keywords on to the computer screen. Take a look at this picture: This is how binary represent numbers. The same concept goes to represent alphabets and symbols. A very long time ago where we don’t have any programming languages, Computer Scientists used Binary Language/Machine Language to ‘progam’ since they find it very difficult to understand binary language and make programs with it, so they made programming language(human-readable) using Binary Language(Machine-readable). (Let’s say they made Assembly language using Binary) We made another programming language using the assembly language and it goes on. Nowdays, we have C, C++, Java, Python and so on. You know. C was made in B language. C++ made in C language.
1st Mar 2018, 8:54 PM
Sudarshan Rai
Sudarshan Rai - avatar
+ 1
programming languages are made using certain other languages. generally most of the compiler of programming languages are made in assembly , c and c derivatives.compiler are made using certain language to compile certain language into machine languages.
2nd Mar 2018, 3:29 AM
sudeep niroula
sudeep niroula - avatar