Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works

Project to build a c compiler

  • Please log in to reply



    New Member

  • Member
  • Pip
  • 1 posts

For my Uni project I have to build a straight C Compiler and am having problems finidng resources on doing so. I was wondering if anyone here would be able to help at all / point me in the direction of help I can get.

Thank you
  • 0





  • Member
  • PipPip
  • 94 posts
The best book I've read on how to build a compiler would be "Game Scripting Mastery". It takes you through a lot of the tasks that a C compiler would have to do, such as Intermediate code, lexical/sematic analsys etc. although it only deals with a basic scripting language and misses out some features of C such as: no data types(float, int etc.) only var, assignments as expressions are illeagal( if(i = 10)). The example code in the book is a bit inefficient, such as storing the index of an element in a linked list and then using that index to access it, but apart from that I would say its a good book.
  • 0



    The hippie freak computer geek

  • Member
  • PipPipPipPipPip
  • 2,496 posts
Please go to www.bloodshed.net and have a look around.
Lots of gooood stuff.
  • 0

Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP