~ubuntu-branches/ubuntu/karmic/bf/karmic

« back to all changes in this revision

Viewing changes to examples/INDEX

  • Committer: Bazaar Package Importer
  • Author(s): Stephan Beyer
  • Date: 2004-12-19 14:22:33 UTC
  • Revision ID: james.westby@ubuntu.com-20041219142233-zvl1lahqie9b2164
Tags: 20041219
* bf.c: rewrite of ReadProgram() and Interprete() to gain speed,
        removed PutIntoProgram(), added FindMatchingBrackets()
        and removed -d (debug) option; minor changes
* errors.c: changes to get non-GNU-compatibility
* stack.[ch]: removed, because useless
* added examples/quine[123].b, examples/hello.b

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
cat.b
 
2
        a simple program which outputs its input.
 
3
        bf cat.b < file
 
4
hello.b -- Hello world, source: Wikipedia
 
5
mandelbrot.b -- by Erik Bosman
 
6
        size an x-terminal-emulator or your console to 130x48 chars
 
7
        and enjoy!
 
8
prime.b -- author unknown?
 
9
        brainfuck find-primes-up-to...-algorithm - slow, but works ;)
 
10
quine1.b -- by Jason Reed
 
11
quine2.b -- by Brian Raiter
 
12
quine3.b -- by Jeremy Bruestle
 
13
        ... all quines taken from http://www.nyx.net/~gthompso/self_brainf.txt
 
14
        A "quine" means self-producing code. Code showing itself.
 
15
random.b -- by Daniel B Cristofani
 
16
        a replacement for /dev/random or /dev/urandom
 
17
        No, it's always the same ;)