in reply to Re^36: aXML vs TT2
in thread aXML vs TT2

However, having said that somehow Perl does manage to execute the aXML code correctly so it must be compiling it in some manner prior to doing that.

Perl does not execute any aXML code at all. It executes the code of your parser and plugins. Your parser interprets the aXML code.

Replies are listed 'Best First'.
Re^38: aXML vs TT2
by Logicus (Initiate) on Oct 24, 2011 at 01:28 UTC

    Ok that makes sense yeh. Perl interprets the code of the engine, and builds a compiled system out of it capable of interpretting both aXML and Perl. You know what that means?

    As far as I can tell, Perl 5 code gets interpretted and compiled into Perl 4 code, which gets interpetted and compiled into Perl 3 code and so on down to Perl 1 then Opcodes then machine code.

    So if aXML was written in Perl 6 instead of Perl 5, and my name happened to be "Larry Wall".. instead of dealing with some unknown bolshe troll guy who no one has ever heard of, you would be getting all excited about being involved with the groundwork of "Perl 7".

    No?

      I really recommend you fact-check your assumptions. Your theory of how Perl 5 works is intriguing but wrong. I recommend that you look at other languages than Perl to learn about how languages and compilers work.

        I could be right, but tbh I'm not going to be doing that as it would be a waste of my time.

        A waste only because I already have everything I need to produce any web system I want, and I really badly need to get something up and running which turns a profit so I can sort my real world life situation out.

        I've done my best to explain what I have here, how it works and why it rocks, but at the end of the day I can't keep on doing this both because of financial reasons and also because I'm becoming dog tired of telling the Truth and having unfounded criticisms levelled at me for it.

      As far as I can tell, Perl 5 code gets interpretted and compiled into Perl 4 code, which gets interpetted and compiled into Perl 3 code and so on down to Perl 1 then Opcodes then machine code.

      For Perl 5 and probably all earlier versions, Perl code gets compiled into Perl opcodes, and these are executed by a virtual machine.

      So if aXML was written in Perl 6 instead of Perl 5, and my name happened to be "Larry Wall".. instead of dealing with some unknown bolshe troll guy who no one has ever heard of, you would be getting all excited about being involved with the groundwork of "Perl 7".

      Perl 6 is exciting because it well designed and addresses a lot of problem areas in Perl 5, not because it was written in Perl 5 (which it isn't), and not because it's by Larry Wall (which it isn't).

      aXML is not exciting, it's not well designed, and addresses problems that already have more elegant solutions.