Skip to content

Commit

Permalink
arithmetic
Browse files Browse the repository at this point in the history
  • Loading branch information
TodePond committed Apr 9, 2023
1 parent 94c235a commit b5fba66
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,13 @@ function isKeyDown(key) => {

**Technical info:** Booleans are stored as one-and-a-half bits.

## Arithmetic
DreamBerd has significant whitespace. Use spacing to specify the order of arithmetic operations.
```js
print(1 + 2*3)! //7
print(1+2 * 3)! //9
```

## Indents
When it comes to indentation, DreamBerd strikes a happy medium that can be enjoyed by everyone: All indents must be 3 spaces long.
```js
Expand Down

0 comments on commit b5fba66

Please sign in to comment.