in reply to Re^3: How Many Languages are in Your .pl?
in thread How Many Languages are in Your .pl?

If you require Turing-completeness, then you can eliminate SQL and HTML as languages.
  • Comment on Re^4: How Many Languages are in Your .pl?

Replies are listed 'Best First'.
Re^5: How Many Languages are in Your .pl?
by dragonchild (Archbishop) on Oct 12, 2004 at 16:48 UTC
    Absolutely. P::RD is also non-turing complete, for that matter. Maybe, a reworded version of the OP should be "Turing-complete languages and/or complex specifications." SQL and HTML are both complex specifications, one for datasets and the other for layout. Neither of them, however, are Perl, which I think what the OP was trying to get at.

    Being right, does not endow the right to be rude; politeness costs nothing.
    Being unknowing, is not the same as being stupid.
    Expressing a contrary opinion, whether to the individual or the group, is more often a sign of deeper thought than of cantankerous belligerence.
    Do not mistake your goals as the only goals; your opinion as the only opinion; your confidence as correctness. Saying you know better is not the same as explaining you know better.

      Not necessarily complex, either. It's more like what hv pointed out below--you get a mini-language whenever you parse data. Pack/Unpack aren't particuarly complex, but I still consider them a mini-language.

      "There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.

Re^5: How Many Languages are in Your .pl?
by Anonymous Monk on Oct 13, 2004 at 11:27 UTC
    HTML is not Turing complete. In fact, since HTML can't change the state of anything, it isn't even in the class of things of which you can consider to be Turing complete. One of the early style-sheet languages considered to be used for HTML, DSSSL, is Turing complete though.