Thursday, May 23, 2013

The dialects of brainfuck

nononono, Eli is not forgetting the filth commandment, brainfuck is a compiler,

Hell it's in the Wikipedia
The brainfuck programming language is an esoteric programming language noted for its extreme minimalism. It is a Turing tarpit, designed to challenge and amuse programmers, and was not made to be suitable for practical use.[1] It was created in 1993 by Urban Müller.
The entire syntax is composed of eight commands  >< +-.[], brainfuck ignores anything else. Eli was splendidly unaware of this until sucked in by the kind of marvelous indirection that blogs can deliver, first a reference in passing to "a comma based operating system" at Popehat which produced a pointer to the wikipedia in the comments.

There are dialects

10 comments:

  1. "Eli is not forgetting the filth commandment"
    Don't worry - Wiki says it is a "proper noun".

    ReplyDelete
  2. With dialects like these, who needs dialectics ?

    ReplyDelete
  3. John Mashey24/5/13 2:17 AM

    Write-only languages have a long history, but APL was at least useful.

    ReplyDelete
    Replies
    1. Years ago (we're talking ca. 1983 here) I was the circuit board designer at a Dutch company. Their programmers all used APL. Indeed, it gives 'brainfuck' whole new connotations. Talk about write-only! IIRC, you could transform a 3-D matrix into a single value using just one operator. I learned to grapple with it, but was never really comfortable with it.

      Delete
  4. In the same sense as ancient Klingon.

    ReplyDelete
  5. The promise of APL led to me getting an early computer with a 387 chip. The high cost of stat software seemed to make developing a library of APL stat routines a Good Idea. [daub eyes from laughter turning to tears]

    Then the reality of writing esoteric software in an opaque language set in. APL was not only oriented differently, it demanded a kind of Winky Dink and Me plastic overlay on the keyboard to accommodate its private icons for operators.

    ReplyDelete
  6. Oook. Eeek!

    ReplyDelete
  7. Are you trying to tell us that Eeek! is the dative of Oook, or the imperative ?

    ReplyDelete
  8. John Mashey26/5/13 11:49 PM

    Eli: APL did get real use. Wall Street guys had their own internal APL software for large risk analyses, at least into the 1990s. Morgan Stanley still uses the A+ variant, I think.
    Life is easier with bitmap displays than when one needed a special Selectric typeball.

    Is there a Klingonese equivalent of the old APL behavior where a colleague would enter your office, scribble a one-liner on your blackboard, and challenge "What do you think that does?"?

    ReplyDelete
  9. Russell, I suspect that the Librarian was observing that the output of Hex is a brainfuck - an observation with which most at UU would agree.


    Bernard J.

    ReplyDelete

Dear Anonymous,

UPDATE: The spambots got clever so the verification is back. Apologies

Some of the regulars here are having trouble telling the anonymice apart. Please add some distinguishing name to your comment such as Mickey, Minnie, Mighty, or Fred.

You can stretch the comment box for more space

The management.