Skip to content

voidwyrm-2/raisin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raisin

Raisin is a bytecode-compiled superset of Brain****

Commands

Character Description
Standard Branflakes
+ Increments the current cell by 1
- Decrements the current cell by 1
> Increments the current cell position by 1
< Decrements the current cell position by 1
[ Jumps to the corresponding ] if the current cell is 0
] Jumps to the corresponding [ if the current cell is not 0
. Prints the current cell
, Takes in a single byte value as user input and sets the current cell to it
Added by Raisin
_ Stops the program
' Jumps ahead by the amount in the current cell
``` Jumps back by the amount in the current cell

Comments

In normal Branflakes, comments are any character that isn't one of the commands

Raisin has actual comments

/ this is a comment /

/ this prints '2' /
++.

Macros

In normal Branflakes, a lot of duplicate code is created because of the lack of any abstraction

In Raisin, this is fixed(for sure, totally) by adding macros

#add3{+++}

++
#add3
.

/ this prints '5' /

About

A bytecode-compiled Brain**** superset

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published