Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > compiler front-end

Reply
Thread Tools

compiler front-end

 
 
vaib
Guest
Posts: n/a
 
      11-18-2008
hi all ,

I am willing to write a compiler front-end for my semester
project . I am studying compilers in my present semester and I am
following the Dragon Book for the theory and Allen I. Holub's Compiler
Design in C for the _actual stuff_ .
.. Although I must admit that as of now I am not able to make out
much out of Holub's book since I am not through with the theory yet
but I have come to understand that it would be much easier to go
through it once I complete the theory . As of now I am almost done
with the front-end theory and so I want to design a compiler front-end
( lexer and parser ) .
Now there are certain issues that i am facing . First of all,
I need to have a grammar so that I would know what all terminals
( tokens ) I have to use . This would be required for the design of
the lexer . Having the grammar would also solve many issues regarding
the parser too .
Can anyone suggest me a simple context-free grammar ? I'd
highly appreciate it . I would also stick to this thread for any other
issues that I face while designing the front-end .
Thanking in anticipation . Vaib .
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiler Error Message: The compiler failed with error code -1073741819 Ram ASP .Net 0 09-13-2005 09:52 AM
Why is a JIT compiler faster than a byte-compiler RickMuller Python 4 03-26-2005 04:30 PM
Compiler compiler with C++ as output Andrey Batyuck C++ 3 05-17-2004 08:17 PM
Can we use <compiler> tag to avoid RunTime Compiler error? Jack Wright ASP .Net 5 01-19-2004 04:36 PM
Compiler Error Message: The compiler failed with error code 128. Yan ASP .Net 0 07-21-2003 10:49 PM



Advertisments