Now Place:2uzhan.com » How to Create a simple Compiler

How to Create a simple Compiler

Software Development @ October 9, 2011   Views:0

Hi, im new here, and i want to ask about "how to make a compiler". I'm a Computer Science and part of my subject wants me to create a compiler, and I had no idea of how to create one. Can anyone help me.....


This question really has a very complex answer:-
1) First of all you req very good knowledge of 'lexical' 'analysis',
'parsing', 'grammar', etc.

And there is no use of writing C++ compiler in c++. You should learn some low level language.

Many universities offer courses where you get to create a compiler.

The "Dragon book",
<url: http://www.amazon.com/exec/obidos/tg/detail/-/0201100886/002-2510887-2360043?v=glance>
is a good place to start for learning about writing compilers.

For learning C++, on the other hand, it very much depends on what you already
know. If you are proficient in some other programming language then the
recommended book is "Accelerated C++" by Koenig.

A good starting point is Jack Crenshaw's "Let's Build a Compiler!"

Before I get into the specific issues, I want to provide some other details:

  • Normally, I work on a live, paid server (even in dev); I realize that is ...

Yes, WPF. The learning curve is steep, but what amazing things you can do with it!
Look at this hexagon window for instance. Serves no purpose in a business environment ...

Hey there,

I am trying to create a register code. So basicly im making a quiz and every time a user starts up my program he/she needs to register (making ...

© 2018 2uzhan.com Contact