Skip to content
A tiny programming language.
JavaScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
bplus.js
index.html
test.bp

README.md

B+

A very tiny programming language (and my GPA).

Here's some example code:

// Keywords:
// let, for, if, else, while, print, goto

// Declare a variable:
let x = 2 + 4 - (5 * 6) // -24

// Label
start:

// Conditionals:
if x == 2 {

}
else {

}

// For loop:
for x = 0..3 {

}

// While loop:
while x == 3 {

}

// Goto
goto start

Compiles down to C.

Take a look at bplus.js for more.

License

MIT

You can’t perform that action at this time.