in reply to What do you use as a language litmus?

I found schwern's list of things to consider when designing a new language quite good. Personally, the one "emergency" question is:

Does the language have a string eval command?
If so, then I can emulate includes, arrays, hashes, namespaces, closures and various other neccessary things through this. This is the most ugly solution to all these requirements, but if all else fails, having string-eval helps.

Replies are listed 'Best First'.
Re^2: What do you use as a language litmus?
by apotheon (Deacon) on Jun 26, 2007 at 12:42 UTC

    Thanks for the link -- and for bringing up string-eval. That particular feature hadn't actually made my list before this, though primarily because (as I see now) I hadn't fully considered its implications for dealing with a paucity of important features. It's going in my list of language litmus tests now.

    print substr("Just another Perl hacker", 0, -2);
    - apotheon
    CopyWrite Chad Perrin