The way to do it is to write compiler front-end that compiles pike code to machine code, and a run-time library, which the compiled code needs to be linked to. Just like it's done with java, fortran and objc. The pike runtime would at least implement the builtin pike functions and datatypes, and perhaps other stuff too.
/ Niels Möller (med röd bil)
Previous text:
2003-05-16 00:49: Subject: Re: Pike compiler
On 6 May 2003, Jordi Molgo wrote:
Hello,
Currently I am searching for something which could be ok for my Graduate Project. Since the most interesting area in computer science to me is Compiler Design, so I am interested in developping a GCC front-end for some language. And my thoughts came directly to Pike. Uhmm.. why not? Of course, it would handle a little portion of Pike at the beggining, just the enough for my project being accepted.
What do you mean by making a GCC front-end ? Do you mean making a Pike scripts to binary format converter without the need for the interpreter at runtime ? If yes I applaud the project with my both hands :)
-- David Gourdelier
/ Brevbäraren