Skip to content
/ yake Public

Brainfu*k lang but worse. ಯಾಕೆ Lang

Notifications You must be signed in to change notification settings

bwaklog/yake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

yake lang

Brainfuck lang but shittier (ongoing proj.)

$ make yake
$ ./yake "++.<<."
2
8

Storing

./yake "++.@@.<.@+@.&-&.&+&."

visual output

&v : 2 | 0x6000005c9260 -> 0
&v : 2 | 0x6000005c9260 -> 2 
&v : 4 | 0x6000005c9260 -> 2
&v : 4 | 0x6000005c9264 -> 4
&v : 2 | 0x6000005c9260 -> 2

Arithmetic (Boolean) operations

./yake"+@@.<<.@+@.&-.%+."

visual output

&v : 1 | 0x6000032cd260 -> 1 | m = 0
&v : 4 | 0x6000032cd260 -> 1 | m = 0
&v : 4 | 0x6000032cd264 -> 4 | m = 0
&v : 4 | 0x6000032cd260 -> 1 | m = 1
&v : 5 | 0x6000032cd260 -> 1 | m = 0

Explanation

Screenshot 2024-01-06 at 10 09 19 PM

Wanna print a string, well time to learn your asciis

$ ./yake "+<<<<<<++++++++@@+@+@>---@+@&--&>>>>-:"
HI!

Operations

Starting value : 0

sym opr description
+ Increment
- Decrement
< Left Shift
> Right Shift

Methods

sym meothod description
. Display current value (equ. fxn is printf)
& Move pointer and get value
@ Move pointer and store value
% % followed by + or - adds the current pointer address value to v
: Print out letters for range v...yeah the same v you have been using upto now

About

Brainfu*k lang but worse. ಯಾಕೆ Lang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages