English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I've been looking for a code for the program to run, the program is called C Language, and it is our project to discover its code,

2006-11-25 19:00:53 · 4 answers · asked by Mark Fhricot 1 in Computers & Internet Programming & Design

4 answers

Well you should be asking how to create the C language? If you have worked in the C language, it is not just the IDE you see. There are libraries and other files you have to take care of - most importantly the compiler.

As you know the compiler should be able to do two things. First, verify the code and syntax. This includes checking if all variables have been declared and stuff, and finally give out proper error messages. Secondly, it should convert all the source code to assembly language.

The IDE is just one part. It somehow combines all these operations into one task. You can design your own IDE; make it the way you want, but it requires knowledge about how to communicate with the components and capture their outputs, and finally present them?

I've told you everything except designing the compiler. If you want to design the compiler you should know the assembly language. The exact info that goes into building the compiler is a mystery to me though. I am not a computer engineer myself, but nevertheless computers interest me. What I would suggest is try out the wikipedia link related to the C language; and then post questions in forums and try to obtain the expected services required by a compiler. This should give you some idea. But I don't know where to start you off on that one.

Once you find the requirements designing the compiler won't be a problem for you. But I must warn you about licences. In spite of C being an old language, I don't know if anyone tried coming out with their own versions. I mean to say is I don't know if anyone tried to design the exact same thing. It could violate some licences. So be careful.

2006-11-25 20:30:50 · answer #1 · answered by deostroll 3 · 0 0

The C Language is a programming language that uses a compiler to convert the source into an object file that can be linked into an executable. It not a program in itself.... there are however compiler programs that implement this programming language, such as Microsoft Visual C++, Borland C++, and Digital Mars C++ (C++ being the main descendant of the C language and contains object oriented programming language extensions).

Thus your question makes little sense unless you trying to develop your own compiler. Another aspect of a C/C++ implementation is the libraries it uses, this is where the code used to build applications are stored. The C/C++ compiler creates a object file that links and connects data structures to code contained in the libraries. The final linking process (in simple terms but is really more complicated) combines the object code and routines in the libraries into a application that is to run on a particular computing platform.

2006-11-25 19:16:45 · answer #2 · answered by Dragonlord Warlock 4 · 0 0

C is a complete programming language sequel of B and BCPL language (probably) .
It is written in assembly for more information catch the developer of the language
Dennis M. Ritchie.. find it on search engine..

2006-11-25 22:06:37 · answer #3 · answered by Best Answer Provider 4 · 0 0

C Language is not a program. It is a programming language, which you can use to write programs.

2006-11-25 19:05:58 · answer #4 · answered by jacinablackbox 4 · 0 0

fedest.com, questions and answers