??? 10/21/06 05:30 Read: times Msg Score: +1 +1 Informative |
#126862 - Language translators Responding to: ???'s previous message |
Mike Stegmaier said:
I want to make myself a compiler in QBasic. Do you want to write the compiler in QBasic, and if so, what language are you compiling, or do you want to make a compiler that translates QBasic to 8052 code? Why this view? because I want to make my own 8051 compiler with Qbasic easily. Writing a compiler is never easy. You need a solid background in finite autonoma and compiler theory. I'm not trying to discourage you, but merely pointing out the complexity of the task. Trust me, the first assembler I wrote was a piece of crap (although it worked and met my needs at the time). The definitive text on the subject is Compilers: Principles, Techniques, and Tools, by Aho, Sethi, and Ullman. It's a bit of an overkill for most situations (read: you pretty much need a Masters in math, and a Bachelors in computer science just to understand it). Some more accessible, but good, texts on the subject are: Modern Compiler Design, Grune, et. al, Compiler Design in C, Allen Holub (recommended), Compiler Construction, Ken Louden (simple but incomplete), A Small C Compiler, James Hendrix. |
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 |