Skip to content

Esoteric programming language inspired by Jelly Hoshiumi, modelled after brainfuck

License

Notifications You must be signed in to change notification settings

penbuvt/awafudge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

awafudge

A brainfuck-based esoteric programming language inspired by Phase Connect talent Jelly Hoshiumi.

Original proposal

The original proposal for the modern iteration of the language was sent by Penbu in the Phase Connect Discord server on September 4, 2024:

I thought about it some more and I've come up with something I (mostly) like. It's not a trivial substitution so we'll have to write a dedicated compiler/transpiler for it, but it still maps back to brainfuck pretty easily.

The base mapping:

> awa~
< wa~
+ awa
- wa
. .
, ,
[ ?
] !

The number of was in the awa/wa-type operators indicates how many times to repeat, so awawawa translates to +++ and wawawawawa~ is <<<<<. + and - must be separated by whitespace from the next token if it would be ambiguous (i.e. +-, +< and -< combinations), but whitespace is otherwise optional. The symbol-type operators repeat as normal by simply repeating the character.

The Hello World program on the Esolang wiki:

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

translates to this using that awawawa scheme:

awawawawawawawawa? awa~ awawawawa? awa~ awawa awa~ awawawa awa~ awawawa awa~ awa wawawawa~ wa! awa~ awa awa~ awa awa~ wa awawa~ awa? wa~! wa~ wa! awawa~. awa~ wawawa. awawawawawawawa.. awawawa. awawa~. wa~ wa. wa~. awawawa. wawawawawawa. wawawawawawawawa. awawa~ awa. awa~ awawa.

Admittedly, formatting ? and ! this way without leading spaces makes the loop a little misleading, but it makes the text look better.

Here it is without unnecessary whitespace:

awawawawawawawawa?awa~awawawawa?awa~awawaawa~awawawaawa~awawawaawa~awa wawawawa~wa!awa~awaawa~awaawa~waawawa~awa?wa~!wa~wa!awawa~.awa~wawawa.awawawawawawawa..awawawa.awawa~.wa~wa.wa~.awawawa.wawawawawawa.wawawawawawawawa.awawa~awa.awa~awawa.

License

This work is licensed under the MIT. See the LICENSE file for details.

About

Esoteric programming language inspired by Jelly Hoshiumi, modelled after brainfuck

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published