ごぼうとにんじん炒めたやつ

From Esolang
Jump to navigation Jump to search

ごぼうとにんじん炒めたやつ(gobo to ninjin itameta yatsu) is an esoteric programming language invented by User:Yamaserif.

The "ごぼうとにんじん炒めたやつ" is a derivative of brainfuck. The name of the programming language means "fried burdock and carrot".

The source code is composed of straight lines reminiscent of shredded carrots and burdocks, and dots reminiscent of sesame seeds.

It is also acceptable to call it きんぴらごぼう(kimpira_gobo) or きんぴら(kimpira).

Specification

bf command description
> i Move the pointer to the right
< l Move the pointer to the left
+ I Increment the memory cell at the pointer
- | Decrement the memory cell at the pointer
. . Output the character signified by the cell at the pointer
, : Input a character and store it in the cell at the pointer
[ ¡ Jump past the matching "!" if the cell at the pointer is 0
] ! Jump back to the matching "¡" if the cell at the pointer is nonzero

Specifications not otherwise noted conform to brainfuck.

Example

Hello, world!

        IIIIIIIII¡iIIIIIIIIiII
(    IIIIIIIIIiIIIIIlll|!i.iII.I     )
 \ IIIIII..III.i|.||||||||||||.lI /
   \ IIIIIII.||||||||.III.||||| /
       ---  |.||||||||.iI.  ---
         L皿皿皿皿皿皿皿皿皿」

External resources