What does the code that makes up programming languages look like?

1.16K views

Take a language like Java. How was it originally created? I can’t wrap my head around how someone invented a computer language to run without having some “prior” language that it allows the first lines to function. Is it just Java all the way down, like someone wrote a single line of Java and then every other line was built on that?

What about the first computer language? What was the basis that that functioned on?

Thanks for any help, I hope that was phrased in a mildly intelligible way.

Edit; I’m trying to think of it like human language: at some point there was a first “word” spoken by someone and understood by another and from there the structure started to be born. What were the first “words” on a computer that led to where we are now?

In: Technology

36 Answers

Anonymous 0 Comments

Modern languages are what’s called high level languages, this means that they’re fairly understandable but us humans. Inorder to run a piece of code must be compiled.
Most code is compiled ina compiler written in that language but the first compiler would be build in the language before it… All the way back to basically coding in raw binary or with punch cards. You make a program in raw binary at much expense and effort that can interpret a higher level code and compile it down into simpler code only the machine can understand. You use this for a while then build anew compiler in your new language, compile it with the old one and now you nmdont beedtheold language at all. It’s about of a cycle

You are viewing 1 out of 36 answers, click here to view all answers.