in reply to Re^3: Writing Interpreters, Compilers and Translators in Perl
in thread Writing Interpreters, Compilers and Translators in Perl

Another would be compiling X to C

Or possibly to C--, since AIUI it's thought exactly for that, i.e. as a target C-like HLA.

  • Comment on Re^4: Writing Interpreters, Compilers and Translators in Perl

Replies are listed 'Best First'.
Re^5: Writing Interpreters, Compilers and Translators in Perl
by educated_foo (Vicar) on May 29, 2007 at 12:54 UTC
    Yeah, but a lot more people and architectures have C compilers, so if your goal is to portably generate reasonably fast machine code, and you don't have time to mess with low-level optimization and code generation, "gcc -O3" is the way to go.