Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

ITT the ABC Programming Language

Name: Anonymous 2008-07-29 19:29

#include <stdio.h>

int main(int argc,char argv*[]){
  int i = 0;
  int BUFFA;

  while(argv[i]!='\0'){
    if(argv[i]='a')
      BUFFA++;
    else if(argv[i]='b')
      BUFFA--;
    else if(argv[i]='c')
      printf("%i\n",BUFFA);
    else printf("%s","Error.\n");
  }
}

Name: Anonymous 2008-08-01 16:35

>>80
Also commas and parentheses.  But it's not terribly useful for reasons other than steganography.

Name: Anonymous 2008-08-01 16:36

>>81
Also butts.

Name: Anonymous 2008-08-01 16:50

hax my butts

Name: Anonymous 2008-08-01 20:19

>>78
Only gcc has been ported so far.

Name: Anonymous 2008-08-01 21:11

>>82
hax my anus

Name: Anonymous 2008-08-01 21:53

A vision from The Sussman came to me, and he told me what I was doing was Good but that I could do Better.  May he enjoy this RevisedThe Second The ABC Programming Language Algorithmic Implementation:
(define (abc source)
  (define accumulator 0)
  (define ascii #f)
  (define (interpret i)
    (case i
      ((#\a) (set! accumulator (+ 1 accumulator)))
      ((#\b) (set! accumulator (- accumulator 1)))
      ((#\c) (display (if ascii
                          (integer->char accumulator)
                          accumulator)))
      ((#\d) (set! accumulator (- accumulator)))
      ((#\r) (set! accumulator (random accumulator)))
      ((#\n) (set! accumulator 0))
      ((#\$) (set! ascii (not ascii)))
      ((#\l) (run))
      ((#\;) (display accumulator)
             (display (integer->char accumulator)))))
  (define (run)
    (for-each interpret (map char-downcase (string->list source)))
    (newline))
  (run))

Name: Anonymous 2008-08-01 21:58

I love you

Name: Anonymous 2008-08-01 21:59

>>86
A vision from The Sussman came to me, and he told me what I was doing was Good but that I could do Better.
No, that was Star Wolf.

Name: Anonymous 2008-08-01 22:19

>>88
I can't let you do that Star Fox

Name: Anonymous 2008-08-02 8:00

>>86
This is pleasant to the eye, both in BBcode and LISP content. I am quite satisfied to be posting on this board with you and the Sussman.

Name: Anonymous 2008-08-02 9:04

>>86,87,90
Same faggot. Go suck nigger cocks.

Name: Anonymous 2008-08-02 13:28

>>91
back to/b/please.

Name: Anonymous 2008-08-02 19:08

>>93
SHUT UP

Name: Anonymous 2008-08-02 19:34

The one path to zen is thus;

a

Name: Anonymous 2008-08-02 19:54

+[>+]

Name: Anonymous 2008-08-02 21:31

>>95
I think you mean
al

Name: Anonymous 2008-08-02 23:35

THIS HAVE BEEN THE BEST THREAD ON/prog/ IN A WHILE

Name: Anonymous 2008-08-03 0:05

>>97
I lol'd at BUFFA
Otherwise thread sux

Name: Anonymous 2008-08-03 2:01

ABC sucks, let's do Brainfuck instead

Name: Anonymous 2008-08-03 2:16

Brainfuck has been done even more than ABC.  We should do something different.

Name: Anonymous 2008-08-03 4:47

>>100
Lets's do C++ in C

Name: Anonymous 2008-08-03 6:06

>>101
That's different, how, exactly?

Name: Anonymous 2008-08-03 8:32

>>100
Brainfuck to C is even on the Brainfuck wiki page...

Name: Anonymous 2008-08-03 10:32

>>103
But not C to Brainfuck.

Name: Anonymous 2008-08-03 10:38

>>104
lol

Name: Anonymous 2008-08-03 11:17

You may laugh, but work is undergoing1 on a C to Befunge compiler.
_________________
1In the very loosest sense of the word `undergoing'2
2J^4: C-to-Befunge compiler. Lee, J. http://www.phlamethrower.co.uk/befunge/c2b.php. Modified March 23, 2008; Retrieved August 3, 2008.

Name: Anonymous 2008-08-03 18:54

This thread is about the ABC programming language, for newcomers to the discussion :)

Name: Anonymous 2008-08-03 19:00

>>107
This thread was about the ABC programming language.

Name: Anonymous 2008-08-03 23:25

This thread is about the ABC programming language.

Name: Anonymous 2008-08-03 23:33

>>109
Welcome to about 50 posts ago. I don't think you know what this thread is about.

Name: Anonymous 2008-08-04 0:18


   人     
  (__)    
  (__)   
 ( __ )    
 ( ・∀・) < Let's add control structures to ABC
 (つ   つ 
 | | |     
 (__)_)

Name: Anonymous 2008-08-04 6:27

In b4 the ABCD Programming Language

Name: Anonymous 2008-08-04 8:26

In b4 ABC++

Name: Anonymous 2008-08-04 8:28

In b4 ABC++

Name: Anonymous 2008-08-04 8:28

ABSEPPLESD

Name: Anonymous 2008-08-04 8:41

>>114
TOO LATE

Name: Anonymous 2008-08-04 9:44

AY-BEE-SEPPLES

Name: Anonymous 2008-08-04 9:52

I infused an apple with tin.

I call it a snapple.

Name: Anonymous 2008-08-04 10:05

Name: Anonymous 2008-08-04 10:08

>>118
Why don't you write about it in your web comic?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List