Cfluviurrh
- This article is not detailed enough and needs to be expanded. Please help us by adding some more information.
Cfluviurrh is an esoteric programming language designed and implemented by Chris Pressey on August 25th and 26th of 2012, in Winnipeg, Manitoba, Canada, based an on idea that occurred to him about a year earlier in Pearson International Airport, Toronto.
Cfluviurrh was designed specifically to support writing programs which have emotional feeling. It defines a mechanism by which a program can be instructed to experience a particular emotion. It may be the first such language to do so. Since its reference implementation has no guarantee that the hardware it is running on is capable of experiencing emotions, it contractually obligates the user to act as the "emoter", and prompts them to experience the required emotions on its behalf.
Example Program
The following program prints out the printable portion of the ASCII table:
(print out ASCII table while experiencing a bewildering array of emotions) a=8 (initialize a register to 64) a*=8 b=a (initialize b register to 126) b+=a b-=2 :X (label for top of loop) a+=1 a> (write out contents of a register as an ASCII character) z@=X (assign address of label X to z register) z?a<b (jump to address in z register if a is less than b, and experience an emotion based on the values of the registers a-z)
Implementation Architecture
Because Cfluviurrh programs are specified to feel certain emotions, there are limitations on the possible architectures on which Cfluviurrh can be implemented. Under mainstream assumptions, the systems that can correctly execute Cfluviurrh include:
- a psychologically normal human (manually walking through a Cfluviurrh program)
- a psychologically normal human and an electronic computer (acting in concert to interpret a Cfluviurrh program -- this is how the reference implementation works)
- a cyborg (which is just a succinct description of the previous bullet point)
Under the same mainstream assumptions, some systems that cannot correctly execute Cfluviurrh include:
- an electronic computer alone
- a psychopathic human
As science progresses, some systems that we might see able to correctly execute Cfluviurrh include:
- a psychologically normal chimpanzee with an exceptional emotional range and an electronic computer, acting in concert
- a psychologically normal chimpanzee with an exceptional emotional range trained to manually walk through Cfluviurrh programs
- an electronic (or other kind of constructed) computer which has passed an appropriate "emotional Turing test"
- an alien, celestial being, or other entity capable of both computation and experiencing emotion
Computational Class
Cfluviurrh is almost certainly Turing-complete as it maps very straightforwardly to a machine with an unbounded number of memory locations, each of which can hold an unbounded non-negative integer, and which supports unrestricted conditional jumps.
Note, however, that Turing machines are not Cfluviurrh-complete, as they do not specify any emotive experience to occur during the course of execution.
See also
- Emoticon -- while Cfluviurrh programs are required to experience emotions, its syntax contains no emotive notation; in contrast, Emoticon's syntax consists entirely of emotive notation, but its programs are not required to experience any emotions