Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
TodePond authored Sep 27, 2023
1 parent aa93b58 commit 5e65b4c
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -767,6 +767,32 @@ print(name)! // "Luke"
**Please note:** The above code will only highlight correctly if you have the extension installed.
## Parentheses
Wait, I almost forgot!
Parentheses in DreamBerd do nothing. They get replaced with whitespace.<br>
The following lines of code all do the same thing.
```java
add(3, 2)!
add 3, 2!
(add (3, 2))!
add)3, 2(!
```
Lisp lovers will love this feature. Use as many parentheses as you want!
```java
(add (3, (add (5, 6))))!
```
Lisp haters will also love it.
```java
(add (3, (add (5, 6)!
```
## Examples
For examples of DreamBerd 2 in action, check out the [examples page](https://github.com/TodePond/DreamBerd/blob/main/test/Examples.md)!
Expand Down

0 comments on commit 5e65b4c

Please sign in to comment.