Computer Science, asked by MuhammadBilal9668, 1 year ago

How we can create new programming language

Answers

Answered by RiskyJaaat
0

Originally Answered: How are programming languages made?
The origin of a programming language is pretty simple: a programmer somewhere notices that she or he is writing the same patterns over and over.

The programmer realizes that the way they are thinking about programs is conceptually abstract and powerful in a way that isn't evident in the actual code being written. So the programmer thinks to themselves: "What is the core essence of the ideas I am expressing in code? And how can I represent those ideas in a way that is simpler, more succinct, and easier to see what is going on?"

This conceptual simplification, and a strategy for expressing it in words and symbols, becomes the germ of an idea for a new language. To make the language useful, its simple core idea needs to be loaded down with all the capabilities the typical modern program needs to have. These additions make the core idea more complicated, but also make the language more useful. A program is then written that can read in and either execute the language directly (interpreted languages) or write out a version of the program in a different target language (compiled languages).

The first language was machine code: literally 1s and 0s that opened and closed circuit switches in the machine, causing logic statements to be realized with electrical signals. Machine code as very cryptic (you had to memerize and read number codes), so then came "assembly language": abbreviations like ADD and JMP that were typed onto punch cards and translated directly into machine number codes. After that came "macro assembly" which allowed coding patterns to be given names.

FORTRAN was the first high-level language to really take off in science, and COBOL in business. These were still coded on punch cards, but the macros now had syntactic structure, which made them a lot more flexible and human readable.

And so the process has continued to the modern object-oriented languages of today.

The big question is: what will the popular programming language 20 years from now look like? Maybe a reader here Brainly will invent it!

Similar questions