http://www.perlmonks.org?node_id=315248


in reply to Re: Re^2: On-the-fly all-languages syntax highlighting
in thread On-the-fly all-languages syntax highlighting

B is ultimately designed to compile C and that someone might be able to invoke the compiler through some bug somewhere I wasn’t aware of.

Uh… not exactly. B has nothing to do with C compilation, and even B::CC has no code to invoke a compiler.

What I was referring to is BEGIN blocks, use, and the like.

Makeshifts last the longest.

Replies are listed 'Best First'.
Re: Re^4: On-the-fly all-languages syntax highlighting
by SavannahLion (Pilgrim) on Dec 17, 2003 at 17:12 UTC
    Uh.. not exactly. B has nothing to do with C compilation, and even B::CC has no code to invoke a compiler.

    . Oh, OK, I think I understand now. When I read,

    This compiler backend takes Perl source and generates C source code corresponding to the internal structures that perl uses to run your program. When the generated C source is compiled and run, it cuts out the time which perl would have taken to load and parse your program into its internal semi-compiled form.

    That put me under the impression that it generated and compiled C code. I kept wondering about that blurb near the bottom about "some compilers." I just didn't put two and two together, my bad.

    ----
    Is it fair to stick a link to my site here?

    Thanks for you patience.