Slashdot Mirror


User: mccollum

mccollum's activity in the archive.

Stories
0
Comments
2
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 2

  1. Re:real simple perl script for my own whitespace l on New Whitespace-Only Programming Language · · Score: 3, Interesting

    doh.. lost my angular braces

    $prog = "";
    while(<>) {
    chop();
    $prog = sprintf("%s%c", $prog, length($_));
    }

    eval $prog;

  2. real simple perl script for my own whitespace lang on New Whitespace-Only Programming Language · · Score: 1

    I suck at perl, but after reading this, I wrote this quick hack.
    It counts characters in a line, and uses that as the character in the program.
    Just tested my 'hello world' program (which I won't bother posting, since it is a bunch of white space)

    $prog = "";
    while() {
    chop();
    $prog = sprintf("%s%c", $prog, length($_));
    }

    eval $prog;