Skip to content

Commit

Permalink
use nDreamBerd everywhere (#490)
Browse files Browse the repository at this point in the history
* Update README.md to change all instances of "DreamBerd 3" to "nDreamBerd"

* Update Examples.md

* Update LICENSE.md

* Update Examples.md

* Update Examples.md

* Update Examples.md

* Update Examples.md
  • Loading branch information
loglot authored Dec 4, 2023
1 parent e53dee3 commit 09f5004
Show file tree
Hide file tree
Showing 7 changed files with 46 additions and 46 deletions.
2 changes: 1 addition & 1 deletion Examples.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## New Examples

You want to see the new examples? Did you even read all the new features of DreamBerd 3? Or did you just skip straight to the examples? You should really learn the new features of DreamBerd 3 first.<br>
You want to see the new examples? Did you even read all the new features of nDreamBerd? Or did you just skip straight to the examples? You should really learn the new features of nDreamBerd first.<br>

Please go back to the features page by following [this link](https://github.com/TodePond/DreamBerd/blob/main/README.md).<br>
When you have finished reading the features, you can find the _real_ examples [here](https://github.com/TodePond/DreamBerd/blob/main/res/Examples.md).
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Congratulations! You found the hidden examples page!

Here are some examples of DreamBerd 3 in action! Sorry - there aren't many.
Here are some examples of nDreamBerd in action! Sorry - there aren't many.

## Hello world

Expand Down
80 changes: 40 additions & 40 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ If you're reading this then you might be looking for the hidden examples page...
CONGRATULATIONS! You found it!
Here it is: https://github.com/TodePond/DreamBerd/blob/main/res/res/Examples.md
But if you came here because you want to contribute to DreamBerd 3, here are some tips on how to get your PR successfully merged.
But if you came here because you want to contribute to nDreamBerd, here are some tips on how to get your PR successfully merged.
- Always punch up.
- Make us feel good.
Expand All @@ -18,11 +18,11 @@ todepond woz here
[<img align="right" height="100" src="shapes.png">](https://github.com/TodePond/DreamBerd/blob/main/examples/Examples.md "Click here for the examples page.")

# DreamBerd 3
# nDreamBerd

![Coverage](badges/coverage-109.svg)

DreamBerd 3 is a perfect programming language. These are its features!<br>
nDreamBerd is a perfect programming language. These are its features!<br>
When you've finished reading through all the features, check out the [examples](https://github.com/TodePond/DreamBerd/blob/main/Examples.md).

## Exclamation Marks!
Expand All @@ -45,7 +45,7 @@ If you're unsure, that's ok. You can put a question mark at the end of a line in
print("Hello world")?
```

You might be wondering what DreamBerd 3 uses for the 'not' operator, which is an exclamation mark in most other languages. That's simple - the 'not' operator is a semi-colon instead.
You might be wondering what nDreamBerd uses for the 'not' operator, which is an exclamation mark in most other languages. That's simple - the 'not' operator is a semi-colon instead.

```java
if (;false) {
Expand Down Expand Up @@ -113,7 +113,7 @@ print(2 + 2 === 5)! //true

## Arrays

Some languages start arrays at `0`, which can be unintuitive for beginners. Some languages start arrays at `1`, which isn't representative of how the code actually works. DreamBerd 3 does the best of both worlds: Arrays start at `-1`.
Some languages start arrays at `0`, which can be unintuitive for beginners. Some languages start arrays at `1`, which isn't representative of how the code actually works. nDreamBerd does the best of both worlds: Arrays start at `-1`.

```java
const const scores = [3, 2, 5]!
Expand Down Expand Up @@ -144,7 +144,7 @@ when (health = 0) {

## Lifetimes

DreamBerd 3 has a built-in garbage collector that will automatically clean up unused variables. However, if you want to be extra careful, you can specify a lifetime for a variable, with a variety of units.
nDreamBerd has a built-in garbage collector that will automatically clean up unused variables. However, if you want to be extra careful, you can specify a lifetime for a variable, with a variety of units.

```java
const const name<2> = "Luke"! //lasts for two lines
Expand All @@ -166,7 +166,7 @@ const const name<-1> = "Luke"!

## Loops

Loops are a complicated relic of archaic programming languages. In DreamBerd 3, there are no loops.
Loops are a complicated relic of archaic programming languages. In nDreamBerd, there are no loops.

## Installation

Expand Down Expand Up @@ -197,14 +197,14 @@ function isKeyDown(key) => {

## Arithmetic

DreamBerd 3 has significant whitespace. Use spacing to specify the order of arithmetic operations.
nDreamBerd has significant whitespace. Use spacing to specify the order of arithmetic operations.

```java
print(1 + 2*3)! //7
print(1+2 * 3)! //9
```

Unlike some other languages, DreamBerd 3 allows you to use the caret (^) for exponentiation.
Unlike some other languages, nDreamBerd allows you to use the caret (^) for exponentiation.

```java
print(1^1)! // 1
Expand All @@ -219,25 +219,25 @@ print(one+two)! //3

## Indents

When it comes to indentation, DreamBerd 3 strikes a happy medium that can be enjoyed by everyone: All indents must be 3 spaces long.
When it comes to indentation, nDreamBerd strikes a happy medium that can be enjoyed by everyone: All indents must be 3 spaces long.

```java
function main() => {
print("DreamBerd 3 is the future")!
print("nDreamBerd is the future")!
}
```

-3 spaces is also allowed.

```java
function main() => {
print("DreamBerd 3 is the future")!
print("nDreamBerd is the future")!
}
```

## Equality

JavaScript lets you do different levels of comparison. `==` for loose comparison, and `===` for a more precise check. DreamBerd 3 takes this to another level.
JavaScript lets you do different levels of comparison. `==` for loose comparison, and `===` for a more precise check. nDreamBerd takes this to another level.

You can use `==` to do a loose check.

Expand Down Expand Up @@ -433,7 +433,7 @@ function add(a, b) => {

## Exporting

Many languages allow you to import things from specific files. In DreamBerd 3, importing is simpler. Instead, you export _to_ specific files!
Many languages allow you to import things from specific files. In nDreamBerd, importing is simpler. Instead, you export _to_ specific files!

```java
===== add.db3 ==
Expand All @@ -448,7 +448,7 @@ import add!
add(3, 2)!
```

By the way, to see DreamBerd 3 in action, check out [this page](https://github.com/TodePond/DreamBerd/blob/main/LICENSE.md).
By the way, to see nDreamBerd in action, check out [this page](https://github.com/TodePond/DreamBerd/blob/main/LICENSE.md).

## Classes

Expand Down Expand Up @@ -508,7 +508,7 @@ delete 3!
print(2 + 1)! // Error: 3 has been deleted
```

DreamBerd 3 is a multi-paradigm programming language, which means that you can `delete` the keywords and paradigms you don't like.
nDreamBerd is a multi-paradigm programming language, which means that you can `delete` the keywords and paradigms you don't like.

```java
delete class!
Expand Down Expand Up @@ -577,15 +577,15 @@ In response to some recent criticism about this design decision, we would like t

## DB3X

You can embed DB3X in DreamBerd 3. It's just DreamBerd 3, and it's also just HTML.
You can embed DB3X in nDreamBerd. It's just nDreamBerd, and it's also just HTML.

```java
funct App() => {
return <div>Hello world!</div>
}
```

**Warning:** As you know, `class` is already a keyword in DreamBerd 3, so you can't use it within DB3X.
**Warning:** As you know, `class` is already a keyword in nDreamBerd, so you can't use it within DB3X.

```java
funct App() => {
Expand All @@ -594,7 +594,7 @@ funct App() => {
}
```

`className` is also a DreamBerd 3 keyword, so you can't use that either.
`className` is also a nDreamBerd keyword, so you can't use that either.

```java
funct App() => {
Expand All @@ -612,7 +612,7 @@ funct App() => {
}
```

**Please note:** Unlike JSX, you are free to freely use the `for` attribute - because DreamBerd 3 doesn't have loops.
**Please note:** Unlike JSX, you are free to freely use the `for` attribute - because nDreamBerd doesn't have loops.

```java
funct App() => {
Expand All @@ -625,7 +625,7 @@ funct App() => {

## Semantic naming

DreamBerd 3 supports semantic naming.
nDreamBerd supports semantic naming.

```java
const const sName = "Lu"!
Expand All @@ -641,7 +641,7 @@ const const g_fScore = 4.5!

## Asynchronous Functions

In most languages, it's hard to get asynchronous functions to synchronise with each other. In DreamBerd 3, it's easy: Asynchronous functions take turns running lines of code.
In most languages, it's hard to get asynchronous functions to synchronise with each other. In nDreamBerd, it's easy: Asynchronous functions take turns running lines of code.

```java
async funct count() {
Expand Down Expand Up @@ -679,7 +679,7 @@ const var score = use(0)!

When it comes to signals, the most important thing to discuss is _syntax_.

In DreamBerd 3, you can set (and get) signals with just one function:
In nDreamBerd, you can set (and get) signals with just one function:

```java
const var score = use(0)!
Expand Down Expand Up @@ -714,19 +714,19 @@ const var [[[getScore, setScore], setScore], setScore] = use(0)!

## AI

DreamBerd 3 features AEMI, which stands for Automatic-Exclamation-Mark-Insertion. If you forget to end a statement with an exclamation mark, DreamBerd 3 will helpfully insert one for you!
nDreamBerd features AEMI, which stands for Automatic-Exclamation-Mark-Insertion. If you forget to end a statement with an exclamation mark, nDreamBerd will helpfully insert one for you!

```java
print("Hello world") // This is fine
```

Similarly... DreamBerd 3 also features ABI, which stands for Automatic-Bracket-Insertion. If you forget to close your brackets, DreamBerd 3 will pop some in for you!
Similarly... nDreamBerd also features ABI, which stands for Automatic-Bracket-Insertion. If you forget to close your brackets, nDreamBerd will pop some in for you!

```java
print("Hello world" // This is also fine
```

Similarly.... DreamBerd 3 also features AQMI, which stands for Automatic-Quotation-Marks-Insertion. If you forget to close your string, DreamBerd 3 will do it for you!
Similarly.... nDreamBerd also features AQMI, which stands for Automatic-Quotation-Marks-Insertion. If you forget to close your string, nDreamBerd will do it for you!

```java
print("Hello world // This is fine as well
Expand All @@ -742,41 +742,41 @@ addEventListener("click", (e) => {
// This is fine
```

Similarly..... DreamBerd 3 also features AI, which stands for Automatic-Insertion.<br>
If you forget to finish your code, DreamBerd 3 will auto-complete the whole thing!
Similarly..... nDreamBerd also features AI, which stands for Automatic-Insertion.<br>
If you forget to finish your code, nDreamBerd will auto-complete the whole thing!

```java
print( // This is probably fine
```

**Please note:** AI does not use AI. Instead, any incomplete code will be auto-emailed to Lu Wilson, who will get back to you with a completed line as soon as possible.

**Now recruiting:** The backlog of unfinished programs has now grown unsustainably long. If you would like to volunteer to help with AI, please write an incomplete DreamBerd 3 program, and leave your contact details somewhere in the source code.
**Now recruiting:** The backlog of unfinished programs has now grown unsustainably long. If you would like to volunteer to help with AI, please write an incomplete nDreamBerd program, and leave your contact details somewhere in the source code.

## Copilot

It's worth noting that Github Copilot doesn't understand DreamBerd 3, which means that Microsoft won't be able to steal your code.
It's worth noting that Github Copilot doesn't understand nDreamBerd, which means that Microsoft won't be able to steal your code.
This is great for when you want to keep your open-sourced project closed-source.
## Ownership
Using the word 'DreamBerd 3' in your project name implies that the DreamBerd 3 Foundation does not own your project.
Using the word 'nDreamBerd' in your project name implies that the nDreamBerd Foundation does not own your project.
However, **not** using the word 'DreamBerd 3' in your project implies that the DreamBerd 3 Foundation **does** own your project. If you would like to keep ownership of your work, please always use the word 'DreamBerd 3' in it.
However, **not** using the word 'nDreamBerd' in your project implies that the nDreamBerd Foundation **does** own your project. If you would like to keep ownership of your work, please always use the word 'nDreamBerd' in it.
Here are some examples:<br>
DreamBerd 3Script (not owned by the DreamBerd 3 Foundation - you are free to use this name)<br>
❌ ECMAScript (owned by the DreamBerd 3 Foundation - please consider renaming)<br>
❌ Rust Foundation (owned by the DreamBerd 3 Foundation - please consider renaming)
nDreamBerdScript (not owned by the nDreamBerd Foundation - you are free to use this name)<br>
❌ ECMAScript (owned by the nDreamBerd Foundation - please consider renaming)<br>
❌ Rust Foundation (owned by the nDreamBerd Foundation - please consider renaming)
## Contributing
> If you are an influencer, streamer, or content-creator... you must <ins>not</ins> skip this section during your read-through.
Contributions are welcomed to DreamBerd 3!
Contributions are welcomed to nDreamBerd!
The most helpful way you can help is by donating to the [Stonewall charity](https://www.stonewall.org.uk/). This will help to prevent the DreamBerd 3 creator from losing their human rights, allowing maintenance of the project to continue.
The most helpful way you can help is by donating to the [Stonewall charity](https://www.stonewall.org.uk/). This will help to prevent the nDreamBerd creator from losing their human rights, allowing maintenance of the project to continue.
**Note:** The contributing guide also helps to shake off unwanted fans of the project.
Expand All @@ -793,7 +793,7 @@ If the compiler refuses at first, politely reassure it. For example:<br>
## Highlighting
Syntax highlighting is now available for DreamBerd 3 in VSCode. To enable it, install a [highlighting extension](https://marketplace.visualstudio.com/items?itemName=fabiospampinato.vscode-highlight) and then use the [DreamBerd 3 configuration file](https://github.com/TodePond/DreamBerd/blob/main/.vscode/settings.json).
Syntax highlighting is now available for nDreamBerd in VSCode. To enable it, install a [highlighting extension](https://marketplace.visualstudio.com/items?itemName=fabiospampinato.vscode-highlight) and then use the [nDreamBerd configuration file](https://github.com/TodePond/DreamBerd/blob/main/.vscode/settings.json).
This is what it looks like:
Expand Down Expand Up @@ -832,8 +832,8 @@ Lisp haters will also love it.
## Examples
For examples of DreamBerd 3 in action, check out the [examples page](https://github.com/TodePond/DreamBerd/blob/main/test/Examples.md)!
For examples of nDreamBerd in action, check out the [examples page](https://github.com/TodePond/DreamBerd/blob/main/test/Examples.md)!
![image](files/star-history.png)
DreamBerd 3 was made with 💔 by Lu Wilson, creator of the [Game of Living](https://youtu.be/WMJ1H3Ai-qs).
nDreamBerd was made with 💔 by Lu Wilson, creator of the [Game of Living](https://youtu.be/WMJ1H3Ai-qs).
2 changes: 1 addition & 1 deletion examples/Examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ First of all, the example could include some text explaining the example, like t
// And then some code here to show how to code the example
```

Please only read the actual examples after reading the [full specification of DreamBerd 3](https://github.com/TodePond/DreamBerd/blob/main/README.md).<br>
Please only read the actual examples after reading the [full specification of nDreamBerd](https://github.com/TodePond/DreamBerd/blob/main/README.md).<br>
AFTER reading the specification, you can read the examples [here](https://github.com/TodePond/DreamBerd/blob/main/Examples.md).
2 changes: 1 addition & 1 deletion res/Examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

AGAIN!... You navigated to the examples in the _wrong order_.

First, please read all the features of DreamBerd 3 [here](https://github.com/TodePond/DreamBerd/blob/main/README.md).<br>
First, please read all the features of nDreamBerd [here](https://github.com/TodePond/DreamBerd/blob/main/README.md).<br>
ONLY AFTER learning all features, you can read the example code [here](https://github.com/TodePond/DreamBerd/blob/main/res/res/Examples.md).
2 changes: 1 addition & 1 deletion res/res/Examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

Did you really come here looking for the example code? I told you - you need to read the features first!

First, read the features of DreamBerd 3 [here](https://github.com/TodePond/DreamBerd/blob/main/README.md).<br>
First, read the features of nDreamBerd [here](https://github.com/TodePond/DreamBerd/blob/main/README.md).<br>
THEN... you can read the examples [here](https://github.com/TodePond/DreamBerd/blob/main/res/Examples.md).
2 changes: 1 addition & 1 deletion test/Examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ Did you just skip to the end of the features page? You just SKIMMED it? That mea
You should go back and learn all the features properly [here](https://github.com/TodePond/DreamBerd/blob/main/README.md).<br>
After doing that, you can check out the examples page [here](https://github.com/TodePond/DreamBerd/blob/main/res/Examples.md).

_If you found this file by exploring the source code of DreamBerd 3 - then please stop. There is nothing to find here, just silly little jokes!_
_If you found this file by exploring the source code of nDreamBerd - then please stop. There is nothing to find here, just silly little jokes!_

0 comments on commit 09f5004

Please sign in to comment.