in reply to Re^19: Is an aXML compiler possible?
in thread Is an aXML compiler possible?

No, I'm pointing out that the code of this site suffers from a problem which requires a certain level of knowledge and understanding to get around.

It's exactly the same problem that certain characters suspect aXML of suffering.(wrongly as it happens)

Point is even a well thought out and mature code base can contain problems when treated roughly in an exceptional manner with the intention of breaking it, as the above proves.

aXML is not RocketBrainf-ck, it's very simple, and as it stands right now my current parser appears to be capable of outputting any HTML/aXML code without problems. (I have yet to find a test case that fails). To be honest I'm having a slight problem with outputting certain Perl constructs, however I have already figured out the solution and intend to have it coded up prior to launching PerlNights.

One criticism someone made, I can't remember who, was that it wasn't possible to see from looking at the aXML code what it actually does without inspecting the plugin code. Well all I have to say to that one is this; what does the following do:

use foo; print foo(bar(baz()));

Please tell me how to know what the output of that program is, WITHOUT inspecting the code of the package foo... if you can I will accept the criticism as valid, if you cannot, then I will consider that criticism, like all the others, as firmly refuted.

Replies are listed 'Best First'.
Re^21: Is an aXML compiler possible?
by Anonymous Monk on Oct 31, 2011 at 19:27 UTC

    No, I'm pointing out that the code of this site suffers from a problem which requires a certain level of knowledge and understanding to get around.

    HA!

    Please tell me how to know what the output of that program is, WITHOUT inspecting the code of the package foo...

    Already explained to you many times, that isn't even close to what aXML does.

    The closes equivalent that resembles print foo(bar(baz())); would be print eval foo( eval bar( eval baz() ) ) ); except its really

    $program = 'foo(bar(baz())'; while( evalable $program ){ $program = eval $program; } print $program;

    In otherwords, rocket-brainf-ck

    if you can I will accept the criticism as valid, if you cannot, then I will consider that criticism, like all the others, as firmly refuted.

    HA!

      The new Plack based aXML does not use eval. well ok one, only one, of the plugins uses it... but I haven't actually used that plugin at all so far in this new build and the PerlNights test case.

      It amazes me how keen you people are to criticise something you clearly do not understand.

        The new Plack based aXML does not use eval. well ok one, only one, of the plugins uses it... but I haven't actually used that plugin at all so far in this new build and the PerlNights test case.

        How you actually changed the implementation is irrelevant, your language definition, your "paradigm shift", has remained the same

        It amazes me how keen you people are to criticise something you clearly do not understand.

        Ha!