??? 10/21/06 18:34 Read: times Msg Score: +1 +1 Informative |
#126871 - A simple alternative Responding to: ???'s previous message |
Andy Neil said:
Somewhere I've got source code for a tiny C (subset of C) compiler that I wrote some time ago. It's based on Ken Louden's text that I mentioned earlier. If the OP or anyone else is interested in a very simple compiler implementation, I could post the code. Those interested in building their own compiler will find it much easier to understand than the source code of SDCC. The compiler produces intermediate code, much like early implementations of Pascal, but it would be fairly simple to have it produce 8052 assembler source. Note: the code will not be optimized at all, but it's a good way to get one's feet wet in learning compiler technology. |
Topic | Author | Date |
my own 8051 compiler... | 01/01/70 00:00 | |
Take it from here | 01/01/70 00:00 | |
Compiler, or Assembler? | 01/01/70 00:00 | |
How does it help? | 01/01/70 00:00 | |
opcodes | 01/01/70 00:00 | |
Language translators | 01/01/70 00:00 | |
well its always good to be ambitious | 01/01/70 00:00 | |
do it yourself compiler | 01/01/70 00:00 | |
SDCC | 01/01/70 00:00 | |
A simple alternative | 01/01/70 00:00 | |
There's a small-c compiler, too | 01/01/70 00:00 | |
update | 01/01/70 00:00 | |
why \'small\' when \'full\' is available for free | 01/01/70 00:00 | |
Mike, what are you doing? | 01/01/70 00:00 | |
Benefits | 01/01/70 00:00 | |
Jez, please READ the context | 01/01/70 00:00 | |
Point taken | 01/01/70 00:00 | |
That inspired me, I am starting a thread in the ch | 01/01/70 00:00 | |
Maybe this will help??? | 01/01/70 00:00 | |
he's gone | 01/01/70 00:00 | |
He probably figured out how much work it was | 01/01/70 00:00 | |
done! | 01/01/70 00:00 | |
So ... which language does it compile? | 01/01/70 00:00 | |
Sure![]() | 01/01/70 00:00 |