A python based esoteric language inspired by the most godly food
- For the foreseeable future all dependencies must be written in python, as of yet bread does not support any dependencies written in bread
- The breadinstaller is only installable on windows, however, the compiler and interpreter are written in python and so can be used anywhere with a bit of modification
- Download the breadinstaller, but make sure not to download the entire repo
- Run the breadinstaller and follow the setup wizard, bread has now been installed onto your system
- You can run your bread code as simply as typing into cmd:
bread run example.brr
(all bread files must end with .brr) - You can also compile your bread code into python, or vice versa with:
bread compile example.brr
orbread compile example.py
The Hello World program
numnums("Hello World")
The Cat program
numnums(gimme())
PYTHON KEYWORDS | BREAD KEYWORDS |
---|---|
class | burmger |
def | sandwhich |
if | tasty |
elif | tastier |
else | tastiest |
for | toppings |
while | eat |
pass | cry |
return | dingding |
break | soggybread |
continue | sneakbread |
yield | bakery |
async | vegan |
await | watchovenfor |
try | pokebread |
except | stalebread |
finally | stilledible |
in | ingredientof |
is | inside |
or | mm |
and | nom |
not | anythingbut |
import | bake |
from | preheat |
with | butter |
a | crispy |
global | chonkybread |
nonlocal | nab |
assert | facts |
lambda | teleportbread |
True | bread |
False | nobread |
None | lackofbread |
PYTHON FUNCTIONS | BREAD FUNCTIONS |
---|---|
str | toast |
int | milk |
float | seeds |
bool | potatoe |
list | buns |
dict | oven |
tuple | cooked |
set | flour |
input | gimme |
numnums | |
max | bigbread |
min | smolbread |
sum | lotsabread |
all | allbread |
len | longbread |
range | slicesof |
round | crusts |
slice | chop |
help | bRead |
getattr | getbread |
setattr | setbread |
property | mybread |
open | butter |
Exception | nono |