>Thanks for all the suggestions.>I didn't say this before but what I really want to do is test a>concept language, in other words: I don't care how the compiler work>as long as A) it works and B) it is easy to implement.>>Problem is that the language I have in mind is everything but simple:>- There is no keywords, only predefined constants and objects.>- There is only two type of commands: variable assignment and function>calls>- There is no constructs, conditional jumps, loops and declarations>are done through function calls.>- Also you can create types (classes in Java/C# terminology) at>runtime.>- types and functions are objects so you can pass them as arguments to>a functions.>- you can also create code blocks and passes them to a function (this>is how if-else works for example).>>C static nature won't allow me to use it as an intermediary language,

In fact, probably it will.

With the exception of your object model - which you haven't described
much at all - the rest of your language is a simple "continuation
passing style" (CPS) functional model. There are a few stack
management tricks needed to efficiently implement CPS code in C, but
it is not difficult to do.

For inspiration you can investigate Scheme-> and Lisp-> compilers.
There are a number of them that work by first transforming the program
into a CPS form and then compiling that to C.

>LLVM or GCC probably fall under the same category, I thinking about>modifying a Javascript interpreter or using it as is throught the eval>function. Maybe all this is too much for me to do alone, anyone here>interested in this challenge?

Other than the fact that a lot of programmers find CPS "unnatural" to
work with directly - meaning you might be the only one ever to use
your language - what you appear to be proposing doesn't sound very
difficult at all.

Because C is a suitable target for most of your language - with the
object model TBD, I'd expect you to have a first cut of your compiler
running end-to-end inside of a month (part time).