View Single Post
Old Dec 10th, 2005, 1:37 PM   #45
pilot2000
Newbie
 
Join Date: Dec 2005
Posts: 4
Rep Power: 0 pilot2000 is on a distinguished road
just became a member to this forum and saw the posts on this matter.
anyway writting a compiler is for sure a really hard thing to do esspecailly if you haven't programmed alot yet.most compilers are written in c or c++.first of all you have to learn what a compiler exactly does.heres a small deal of one type of compiler
(1) lexical analysis > (2)syntactic analysis > (3)semantic analysis > (4)target code generation.
but the first thing to do is to determine your language.(not as easy)
there are allthough some tools that will make your life easier but knowing c is a must.try looking at gnu lex/flex and yacc/bison.
pilot2000 is offline   Reply With Quote