Wordfuck

From Esolang
Jump to navigation Jump to search

Wordfuck (also known as Natural BF-based language with common instructions and syntax of that language, or just NBFBLWCIASTL) is a language created by User:Marcsances identical to Brainfuck, except the way to write statements. That makes of Wordfuck even more difficult than Brainfuck (if you want to write beautiful programs, if not, it's just as easy as Brainfuck, but longer).

Syntax

In wordfuck there are no special words that define an instruction. What defines an instruction isn't the content of the code, but the length of its words.

By word, you should think just of a group of characters separated by a space, so the only special reserved word is the space.

Instructions

Instructions are same as BF ones:

Length of the word BF equivalent Description
2 . Output the character signified by the cell at the pointer
3 - Decrement the memory cell under the pointer
4 + Increment the memory cell under the pointer
5 , Input a character and store it in the cell at the pointer
6 > Move the pointer to the right
7 < Move the pointer to the left
8 [ Jump past the matching ] if the cell under the pointer is 0
9 ] Jump back to the matching [ if the cell under the pointer is nonzero

Sample Hello World program

Until I finish the compiler/converter, I will not be able to guarantee this precious program will work.

This code will show main base plus util uses of_a language called Natu ral_ BFba sed_ lang uage with common inst ruct ions and_ synt ax_o f_th at_l angu age. So_i f_you_ thou ght_ BF_w as_easy ,get_re ady_for_ the_new way of_develo ping_i n_Br ainf ** welcom e_to my NBFB LWCI ASTL !(no ,tha t_in fact ex is ts. I s_th e_ac ro nym_of the_ name of the_eso teric_l angu age. Lear ning BFis real ly_d iffi cult ,but I_th ink_ this is_e ven_ mo re. Be ca use_ inBF you_ ha ve_ all res our ces you ne ed, but in_ NBF BLW CIA STL you do not.So forn ow goodlu ck

Brainfuck equivalent:

++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.


Another 'Hello, World!' program from User:Imaginer1's unofficial converter

lick pore grin loop nick cola dent leaf imposter pocket plan play fish cola question jumped plan leaf remote cola colt dent portal pine fish grin remote that coastal filings sawdust gymnast bat vengeance remote grin jumped loop jumped ran roller roller leaf hospital octopus vengeance dubious dog allergens pocket sailor is portal toy ran nor be plan plan cola colt list leaf dent it my list pore pore he bonobo botany me octopus mat he coastal be leaf play once do men joy fat pad pad dry is was hat fan fan fat ham cry cat my remote botany lick pi roller grin loop pi

Two more "Hello, World!" programs (this one), converted using n-gram models trained on, respectively, IRC logs from freenode/{#esoteric,##scheme} and European Parliament proceedings as a prior, but restricted to generating a word of the desired length. All punctuation has been removed, for simplicity.

well that went well with that they have problems taking that long text ansi standard object file size limits will fail with python code into your source code written systems existed because you basically making them harder time seeing how easily forcer said thinking tangent norwegian authors are overrated anyway erlang is wicked the end too of some sort fell over this very well as an even more code in prolog anyway to support the tv program in perl that were he was the age old one did do the job she too few are the new gc should review that is toboge uses that in

just very well that this huge area also requires public also like your word genocide safety nets they amount from this when voting than that they really wish prevail against uniform tariffs and gentlemen bosnia with russia will accuse the sharks within this proposal because education centres and desertion change course or public and the eib to tell them that they were only ones to be used when they go beyond nuance is illegal and no figures on this line will be the day for far too low to the new one day the new law and of others before they go beyond what esdp is

Sample Cat Program

hello humanoid me speak languages

External Links

Python wordfuck-brainfuck conversion tool by Christian Manahl