bread banner

bread

6 devlogs
10h 17m 25s

a language that gets compiled into c++

This project uses AI

Some AI was used for small debugging

Demo Repository

Loading README...

brny

Shipped this project!

Hours: 10.29
Cookies: 🍪 129
Multiplier: 12.57 cookies/hr

I created a programming language built on C++ that also compiles to C++. This was my largest C++ project and my first programming language project. Im planning to take this project further and I have big plans for it.

brny

last bread update

before shipping
what’s new?

  • ability to create and delete folders
  • lots of error handling and bug fixes
  • code examples
  • removed GUI from main branch due to instability
  • readme revamped
    small devlog compared to how many hours i spent on it but its mostly background stuff like bug fixed and readme updates.

git changelog

thank you for reading this devlog

Attachment
0
brny

bread is back?

gui editor for bread?

lots of things have happened since the last devlog for bread.
the programming language itself is near finsihed, it only needs some final touches but there are some BIG features coming.
Newly implemented features:

  • Functions!!! After a long time functions have been finally implemented
  • Modulo operator
  • Bug fix regarding the wait function
  • Bread developer suite - a GUI IDE for Bread, heavily in development. The GUI framework it uses is ImGui
    Features from the code side:
  • Made a header file so the IDE can use the compiler directly
  • Made a seperate cli.cpp file which has the same functionality as the current bread compiler, only instead of directly being baked into the compiler.cpp, it calls it.
    Planned features:
  • for loops
  • global or local variables
  • a testing framework
  • a filesystem library
  • arrays, and other variables.

Git changelog (boring stuff)

Attachment
1

Comments

freddie
freddie about 1 month ago

Yoooo, super cool! Can you code in bread on windows?

brny

wake up, new bread features just dropped

whopping new features dropped like:

  • while loops
  • addition
  • subtraction
  • division
  • multiplication
  • AND a lot of error checking

currently, it is only for linux but im planning to implement some kind of windows functionality. currently the compiler can only be ran on windows but i will add the functionality to compile the bread file for windows. sadly the compiler wouldn’t work on windows because the way it writes files.

in the picture, you can see the mathematics functions being tested and the while loop being tested.

next steps?

  • for loops
  • functions
  • bread testing framework
  • bread extensions (soon)

full git changelog

Attachment
2

Comments

freddie
freddie about 2 months ago

first

freddie
freddie about 2 months ago

great pitch in the show and tell huddle!

brny

whats up bread programmers

new features just dropped

in todays update, i have added:

  • the ability to exit the program with an exit function (an exit code can be given)
  • error checking in the compiler where there should have been

and, most importantly

IF STATEMENTS!!!!!!

you can now write if statements like this:
if/foo/equals/bar
print/foo equals bar!!!
`endif/``
(assume there are line breaks there)

so whats the next steps for bread?

future targets:

  • for loops
  • testing framework
  • butter(bread standard library)
  • shortcuts (like functions but for bread)
    check back tomorrow, and you might witness bread becoming more popular than python!
    expect an in depth usage guide tomorrow!

full git changelog

Attachment
0
brny

new bread update just dropped

so for features, not a lot has happened but more of small changes.
i added

  • the ability to print strings, booleans and integers
  • inputting data
    oh and also, checking for compilers.
    because bread relies on c++, a compiler is required.
    currently clang is preferred due to its speed.
    if you spot any errors make sure you compile the compiler with clang.

git changelog

Attachment
0
brny

bread

bread is a transpiled language that converts .bread files into c++ and also compiles them
(sorry for not posting a devlog, i forgot lol)

full git changelog

Attachment
2

Comments

Laurin
Laurin about 2 months ago

i love it ;)

avighnakc
avighnakc about 2 months ago

I love it more than Laurin