Ceriwis  

Go Back   Ceriwis > HOBI > Komputer & Teknologi > Programming

Programming Share, tanya jawab, saling bantu antar programmer dengan berbagai macam bahasa pemrograman.

Reply
 
Thread Tools
  #1  
Old 11th November 2011
Braincode's Avatar
Braincode Braincode is offline
Ceriwis Addicted
 
Join Date: Nov 2011
Posts: 4,638
Rep Power: 20
Braincode mempunyai hidup yang Normal
Default [iseng] Brainf*ck Programming Language

Habis googling bentar ketemu ama bahasa pemrograman yang bikin ama gan.

Nama bahasanya brainfuck programming language


Code:

http://en.wikipedia.org/wiki/Brainfuck



compiler untuk win32


Code:

http://4mhz.de/bfdev.html

syntaxnya cuma delapan gan


Spoiler for syntax:








The eight language commands, each consisting of a single character, are the following:

Character Meaning

> increment the data pointer (to point to the next cell to the right).

< decrement the data pointer (to point to the next cell to the left).

+ increment (increase by one) the byte at the data pointer.

- decrement (decrease by one) the byte at the data pointer.

. output the value of the byte at the data pointer.

, accept one byte of input, storing its value in the byte at the data pointer.

[ if the byte at the data pointer is zero, then instead of moving the instruction pointer forward to the next command, jump it forward to the command after the matching ] command*.

] if the byte at the data pointer is nonzero, then instead of moving the instruction pointer forward to the next command, jump it back to the command after the matching [ command*.]











ini cuma iseng2 aja gan mau share ke agan2 semua

ane udah liat contoh2nya yang jelas jangan dibuat serius



Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


 


All times are GMT +7. The time now is 09:55 PM.


no new posts