hi !i m doing a project on compiler design in c#.net can anyone help me on this please.
compiler design
Collapse
X
-
-
The process of converting a source .c file to an executable .exe file involves compilation of the source text and linking the resulting object code. You need a compiler for that, one way or another and you need a linker. Do you want to write both of them while quite a bunch of them are available already? Think.
kind regards,
JosComment
-
You do have to compile the source code; there is no shortcut. There are quite some editors that can call an external program with the current text as its input; read your editor's manuals. The idea is to call a compiler on the current text in the editor and store the compiled code somewhere. Vi and emacs can do that, maybe your favorite editor can do it too.
Writing a full blown compiler takes quite some time. People have worked for years on their compiler ...
kind regards,
JosComment
Comment