Esoteric programming forum

This forum is for discussing of esoteric programming languages. (Matters pertaining specifically to the wiki should go on its talk pages.)

The name field is optional and you are welcome to post anonymously if you like. URLs automatically turn into links. To make a link to a previous post in the same thread, use >>number, e.g. >>2 for post 2.

Board look: Blue Moon Futaba Headline Pseud0ch Toothpaste

bitwise operations in bf (6)

1 Name: sh!oSOb.tdmyy : 2008-06-24 18:40 ID:9XZuvSNR

does anyone know how to perform fast bitwise operations like xor, and, or in brainfuck?

2 Name: Anonymous : 2008-07-15 23:23 ID:6JjVW7n6

Not sure, is it on the bf algorithms page?

3 Name: sh : 2008-07-16 23:17 ID:9XZuvSNR

nothing there.

4 Name: Anonymous : 2008-07-18 19:07 ID:W9xMBOG9

NOT seems to be very easy.

5 Name: Nortaneous : 2008-11-08 03:55 ID:csKV4fSJ

from http://www.nieko.net/bf.php

AND:
Output is 1 if both inputs are true. p1 is output, p2 and p3 are inputs:

[-] ;p1v0
> ;p2
[ ;enter loop if p2 is true
> ;p3
[ ;enter loop if p3 is also true
<<+>> ;p1v1
[-] ;empty p3
]
< ;empty p2
[-]

Post too long. Click to view the whole post or the thread page.

6 Name: Anonymous : 2009-06-05 10:33 ID:xQRo3V7V

question was about bitwise

Name: Link:
Leave these fields empty (spam trap):
More options...

New thread

Title:
Name: Link:
Leave these fields empty (spam trap):
More options...