[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] AVR-GCC question

From: E. Weddington
Subject: Re: [avr-gcc-list] AVR-GCC question
Date: Mon, 23 May 2005 12:26:03 -0600
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

Trampas wrote:

My dream is for "Meta" compiler.
That is I would like a compiler where I could expand the functionality, such
that I write code to write the code for me.

Additionally you could have the compiler implement polymorphism while
keeping C code. For example you could at compile time check variables types
and conditionally create code.
The advantages would be that you could start making some really generic
libraries and could code the way you wanted. You could prototype compiler
features easy, kind of like scripting.
Think about having a FIFO coded in C where it used polymorphism like C++
with out all the overhead, that is the FIFO library code would be generated
at compile time kind of like standard templates in C++.
You are always free to design your own language. Remember, GCC is open source and you can add your own language...


reply via email to

[Prev in Thread] Current Thread [Next in Thread]