[cc65] C Compiler Semantic Analysis

From: Payton Byrd <kingdurin1yahoo.com>
Date: 2006-01-16 15:40:28
Hello, Uz.

I haven't dug into the code for CC65, so this is more of a general question.  Does CC65 has a generic rules engine that it uses to interpret the C grammar, or is the semantic analysis done with hard-coded functions?  I've been doing some reading on compiler design for the 64/128 and was wondering if the CC65 framework would be a good starting point to create a BASIC compiler.  BASIC and C are so different from a grammatical standpoint that I don't think a hard-coded semantic analysis would offer much reuse.  I'm sure I could do sometime with YACC, but was hoping to be able to reuse the assembly generation already existing in CC65.




Payton Byrd
<http://www.paytonbyrd.com>
<http://blogs.ittoolbox.com/visualbasic/dotnet/>
		
---------------------------------
Yahoo! Photos – Showcase holiday pictures in hardcover
 Photo Books. You design it and we’ll bind it!
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Mon Jan 16 15:40:39 2006

This archive was generated by hypermail 2.1.8 : 2006-01-16 15:40:43 CET