Jump to content
Sign in to follow this  
acik

C Compiler Construction

Recommended Posts

Aku rasa nak buat compiler utk projek final year, bukan nak buat sume part, cuma nak buat error reporting aje. Aku nak buat C error reporting bahasa melayu, coz member2 aku yg tak suka programming/beginner selalunya x nak baca error report kalu x buleh compile. Nape? Pasal katanya x faham...

So anybody have the same interest atau yg dah buat kajian pasal menda ni pls share. Aku ingat nak modify GCC je, pasal GCC open source.

One more thing compiler tu aku nak kena buat web based, jadi tolong suggest language apa yg sesuai, mana nak cari reference, etc...

TQvm

Share this post


Link to post
Share on other sites

a web based compiler????

personally i think it will be hard. especially if u want to check for linking problems (#include, #pragma, and so on)

tapi for basic syntax error checking, it can be done with php. (never tried) tongue.gif

but aku pun terpikir gak nak improve code editor (http://forum.putera.com/tanya/index.php?dlcategory=10) so leh detect syntax errors

Edited by da^hype

Share this post


Link to post
Share on other sites

siti rasa cara yang paling mudah guna sahaja tool lex & yacc (atau pun flex & bison). dan grammar bnf untuk bahasa c dengan mudah boleh dicari melalui internet. tetapi perlu diingatkan walaupun pembangunan pengompil ini tidak susah, saiz projek ini adalah besar dan perancangan masa yang betul perlu dilakukan.

web based compiler? no comment!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...