Slashdot Mirror


Code That Pushed the Language Envelope?

Lil Fritz asks: "Following on from the cool Flash Adventure game last week, this geezer Neil Pearce has written a full client side JavaScript CPU chess player (which drew with me, but then I'm papz at Chess). Now this sort of thing always amazes me. Doing stuff for which it was never intended. Do we have other warped (ie 'they wrote it in what?!?') uses of languages and tools?"

4 of 87 comments (clear)

  1. What about Duff's device? by chrestomanci · · Score: 5, Interesting

    When I first saw it, I was amazed that it worked, but I would say it pushed the limits

    Code example and discussion in the Jargon File

    For a more detailed explation see here.

    Can't post the code, due to Lameness filter.

  2. BaSiX by ebbe11 · · Score: 5, Interesting

    I think BaSiX ought to qualify - a BASIC interpreter written in TeX, no less.

    --

    My opinion? See above.
  3. Wolfenstein by 'The+'.$L3mm1ng · · Score: 5, Interesting

    Searching this page didn't show it up, so here's the link:

    Wolfenstein in 5kb of JavaScript

  4. Pushing the limits by bobv-pillars-net · · Score: 5, Interesting

    I know a guy who wrote a program to calculate Pi to an arbitrary number of digits in

    You ready for this?

    DOS

    He wrote the entire progeram as a series of .BAT files that recursively called each other.

    No external programs, no tricks. Nothing but the native capabilities of COMMAND.COM. Local variables were stored in the environment, and globals were stored in files.

    It ran really slow.


    --
    The Web is like Usenet, but
    the elephants are untrained.