General discussion

Locked

How was a programming language developed

By vmlsd ·
Hi all,

I would like to your answers on how a programming language was created. And how the inventor made the language understood by the computer?

This conversation is currently closed to new comments.

6 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by Jaqui In reply to How was a programming lan ...

which language?
compiled language or interpreted?

compiled languages are made understandable by the linker/compiler

interpreted by the interpreter.

how the syntax was developed varies for each language.

specifics are needed to really answer your question

Collapse -

by Jaqui In reply to

http://java.sun.com/features/1998/05/birthday.html

the history of java, how it started.

which java bean is required in order to have a standard out ( screen print? )
that has the source of the function.
look at the source for the interpretor to see how it makes the java understandable to the system

Collapse -

by vmlsd In reply to How was a programming lan ...

hi Jacqui,

I want to know how Java is created. and how the inventor made the language understood by the computer. for example, when we write
system.out.println ("hello");
the computer can write the word hello on the screen. thanks

Collapse -

by jleather In reply to How was a programming lan ...

This could be considered a "trick" question. It really is not a simple or an easy question (some what similar to how do I understand your question or you, my answer).

I suggest some reading. The books I found informative are "Writing Compilers & Interpreters" by Ronald Mak (ISBN 0-471-50968-X); "Constructing Language Processors for Little Languages" by Randy M. Kaplan (0-471-59754-6); and, for a really in-depth treatment, "Compiler Design in C" by Alan I. Holub (0-13-155-45-4). Note there may be updated versions of these volumes.

I realize these do not address Java but the principles are similar. Just remember, Java is "compiled" into pseudo code (aka pcode) that is ran by a VM (virtual machine) thus somewhat in between compiled and interpreted.

As for the distinction between compiled and interpreted, my favorite analogy is compiled code is like taking a document in a foreign language that is translated once to be read at any time. Where as an interpreted language is translated a line at a time every time the document is read (and the "translated" lines are forgotten after being read, i.e. translated every time they are read).

Hope this helps . . .

John

Collapse -

by jleather In reply to

Sorry, the Holub book's ISBN is 0-13-155045-4.

I must have hit the OOPS button!!??

Collapse -

by vmlsd In reply to How was a programming lan ...

Thank you so much john. I have alot of things that i dont understand related to computer. How can a computer knowing only 0s and 1s can do so many amazing things......
i hope that i can seek more help from you. thanks

Back to Web Development Forum
6 total posts (Page 1 of 1)  

Related Discussions

Related Forums