iHeadAche

Print the article Print the article
























aldweb



UnfoldCloseI. aldweb


  •   1. What is aldweb?

  •   2. My Hobbies

  •   3. aldweb site Stats

  •   4. Downloads Stats

  •   5. Connection Speed

  •   6. Links

  •   7. Relax

  •   8. Support aldweb

  •   9. Previous polls results

  •   10. I am a happy webmaster

  •   11. The aldweb network

  •   12. Old stories


UnfoldCloseII. PC Freeware


  •   1. My PC Freeware

  •   2. Gestion de Projet

  •   3. Ma Page Web

  •   4. Ma Page Web sites

  •   5. Mmo Friends

  •   6. My PC Freeware and LINUX

  •   7. Top 20 Freeware


UnfoldCloseIII. Palm Freeware


  •   1. My Palm Freeware

  •   2. Cells

  •   3. Matches

  •   4. NekoCat

  •   5. Numerus

  •   6. Speedy

  •   7. LaFac

  •   8. iBClock

  •   9. tinyBasic


  • puce10. iHeadAche


UnfoldCloseIV. Palm Shareware


  •   1. My Palm Shareware

  •   2. SysInfo

  •   3. PalmPulus

  •   4. TCtools


UnfoldCloseV. iziBasic Palm


  •   1. iziBasic - Description & Download

  •   2. iziBasic - Updates Description

  •   3. iziBasic - web sites

  •   4. iziBasic - Resources

  •   5. ViziBasic - Visual Editor for iziBasic


UnfoldCloseVI. Palm Knowledge


  •   1. Palm Knowledge

  •   2. PeekPocket articles

  •   3. Development Tools Benchmark

  •   4. Devices Benchmark

  •   5. DragonBall vs ARM

  •   6. PP Tutorials

  •   7. Customize RsrcEdit

  •   8. Alternatives to C programming

  •   9. Palm Programming Links


UnfoldCloseVII. Pocket Computer


  •   1. Pocket Computer

  •   2. TRS-80 Pocket

  •   3. PC-1360 Pocket

  •   4. PockASM

  •   5. PC-E500 Forth compiler

  •   6. Links Pocket Computer

  •   7. Pocket Computer Forum

  •   8. Thanks


UnfoldCloseVIII. miniPortail


  •   1. miniPortail / GuppY



//<![CDATA[
<!--
var nbRubr = 9;
var typeRubr = 'boxartd';
for(i = 0; i
//]]>

Search






All contents
Articles
Articles Reactions

Downloads

Forum

Guestbook

Links

News
[fr] and [en]
[fr] only
[en] only




Newsletter



To receive news about this website, consider subscribing to our Newsletter.




Subscribe
Unsubscribe

296 Subscribers
Webmaster - Infos



Write to aldweb Webmaster

Add to bookmarks Bookmarks

Recommend this site to a friend Recommend

Mobile version Mobile version



Visits


   visitors


   visitors online


Pagerank




Google Ads

















article.gifIII. Palm Freeware - 10. iHeadAche



iHeadAche


  • Version : 1.1 (September 2007)

  • Freeware for :

  • Language :

  • Screen :

  • Downloadable File : iheadache.zip (91 Kb)


iHeadAche is just another one of my developer's game, the development of a BrainF*ck interpreter for Palm by using iziBasic.


What is iHeadAche?

iHeadAche is an interpreter for the BrainF*ck esoteric language.
iHeadAche can also convert a BrainF*ck source code to an iziBasic source code for being then compiled with iziBasic.

iHeadAche was itself written in iziBasic for Palm.
Its source code is to be found in the ZIP file you downloaded (please read the Installing iHeadAche paragraph).


BrainF*ck

BrainF*ck was created by Urban Mueller for the Amiga OS 2.0, and he wrote an assembler compiler which was only 240 bytes long!
This tiny language has only 8 instructions (yes, only 8!) but it still is Turing complete, meaning that any computable calculation can be computed using it.

The BrainF*ck operators are:















decrements the pointer
>increments the pointer
+ increments the pointed byte
-decrements the pointed byte
.outputs the pointed byte
,reads a byte from the input and stores it at pointed byte
[jumps to matching ] if the pointed byte is null
]jumps to matching [ if the pointed byte is not null
Note: bytes (8 bits integers) can be replaced by 16 bits integers as an option in iHeadAche

Knowing this, the BrainF*ck source code for the classical 'Hello World' sample program, which does nothing else but to display 'Hello World' on the screen, is:
++++++++[>+++++++++.++++++-.+++++++..+++.>++++>.------.++++++.+++.------.--------.>+.
This seems quite weird... But, do not be afraid by this first feeling, please read below!

Plenty of resources and web sites made by people who like BrainF*ck a lot (yes, this is possible!) are easily found on the internet. Just type in "brainfuck" (Drat it! I wrote it replacing the * character by the u letter!) in the search field of any search engine and you will be amazed by the number of returned links...

Here below are just a few recommended links:

Link #1: http://home.planet.nl/~faase009/Ha_BF.html
Nieko Maatjes wrote back in 2002 what I believe to be the best tutorial for the BrainF*ck language, a must read.

Link #2: http://www.hevanet.com/cristofd/brainfuck/
Daniel Cristofani has a great collection of sample source codes, including a BrainF*ck interpreter written in BrainF*ck... amazing!), and plenty of other useful resources & links.

And, if you do not like my iHeadAche implementation, you will find not less than 2 other implementations of BrainF*ck running on the Palm devices (BrainF*ck is a so called esoteric development language but, as you can see, it is well widespread):
IDE Palm #1: http://arainyday.se/projects/palm/BFEdit/
IDE Palm #2: http://www.chocopoolp.com/go_freeware.php (this one by a good French friend of mine)


Updates Description

1.1 (09/17/07)
- recompiled this program with the latest iziBasic version 6.1 to avoid device freezes or soft resets on some devices
- changed the applications's name from iBrainF*ck to iHeadAche to bypass some American referencing site's prudish censorship!

1.0 (05/24/06)
- initial release


Creation date : 25/05/2006 @ 22:30

Last update : 26/09/2007 @ 11:42

Category : III. Palm Freeware



Print the article Print the article


 










react.gifReactions to this article







Nobody gave a comment yet.
Be the first to do so!

 




Special !




Tweet







Mobile version of
the aldweb Site

m.aldweb.com

Neither French, nor English?

Try one of these flags then:
[de][es][it][pt]


Geolocation


Weather / Spam / www




Lyon Weather




aldweb against spam







Family's web sites







Poll











What do you think of the new design of the aldweb Site?
 
Great !
Beautiful
Average
So ugly...
Results
Friends News


GuppY CMS

PPcompiler





^ Top ^



Popular posts from this blog

ParseJSON using SSJSUsing AMPscript with SSJS ActivitiesHow to resubscribe a user in Marketing cloud using SSJS?Pulling Subscriber Status from Lists using SSJSRetrieving Emails using SSJSProblem in updating DE using SSJSUsing SSJS to send single email in Marketing CloudError adding EmailSendDefinition using SSJS

Кампала Садржај Географија Географија Историја Становништво Привреда Партнерски градови Референце Спољашње везе Мени за навигацију0°11′ СГШ; 32°20′ ИГД / 0.18° СГШ; 32.34° ИГД / 0.18; 32.340°11′ СГШ; 32°20′ ИГД / 0.18° СГШ; 32.34° ИГД / 0.18; 32.34МедијиПодациЗванични веб-сајту

19. јануар Садржај Догађаји Рођења Смрти Празници и дани сећања Види још Референце Мени за навигацијуу