Skip to content

おじさん風文章を解釈して動く Brainfuck interpreter

License

Notifications You must be signed in to change notification settings

ikanago/ojisan_f-ck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ojisanf-ck😅

Unit Test License: MIT

What's this🤔

This is brainf-ck interpreter parsing emoji. I chose emojis which is often used by Japanese ojisan(middle-aged men) chatting with girls.

WARNING⚠

This is a joke language. I have NO intention to insult ojisan.

Installation🚚

Via Homebrew/Linuxbrew:

brew install ikanago/tap/ojisan_fuck

Install via cargo:

cargo install ojisan_fuck

Or binaries are avialable: Release

Usage😘

Transpile brainf-ck code to ojisanf-ck code:

ojisan_fuck --transpile '+++++++++[>++++++++>+++++++++++>+++>+<<<<-]>.>++.+++++++..+++.>+++++.<<+++++++++++++++.>.+++.------.--------.>+.>+.'

Interpret ojisanf-ck code:

ojisan_fuck -c 😘😘😘😘😘😘😘😘😘✋😅😘😘😘😘😘😘😘😘😅😘😘😘😘😘😘😘😘😘😘😘😅😘😘😘😅😘😭😭😭😭😚🤟😅💦😅😘😘💦😘😘😘😘😘😘😘💦💦😘😘😘💦😅😘😘😘😘😘💦😭😭😘😘😘😘😘😘😘😘😘😘😘😘😘😘😘💦😅💦😘😘😘💦😚😚😚😚😚😚💦😚😚😚😚😚😚😚😚💦😅😘💦😅😘💦

Or pass source code from a file:

ojisan_fuck hello_world.of