From 09f5004f3d7af0275509c559db455f262f3903f3 Mon Sep 17 00:00:00 2001 From: loglot <88983354+loglot@users.noreply.github.com> Date: Mon, 4 Dec 2023 17:34:06 -0600 Subject: [PATCH] use nDreamBerd everywhere (#490) * 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 --- Examples.md | 2 +- LICENSE.md | 2 +- README.md | 80 ++++++++++++++++++++++---------------------- examples/Examples.md | 2 +- res/Examples.md | 2 +- res/res/Examples.md | 2 +- test/Examples.md | 2 +- 7 files changed, 46 insertions(+), 46 deletions(-) diff --git a/Examples.md b/Examples.md index 8b07330c4..5552b02d0 100644 --- a/Examples.md +++ b/Examples.md @@ -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.
+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.
Please go back to the features page by following [this link](https://github.com/TodePond/DreamBerd/blob/main/README.md).
When you have finished reading the features, you can find the _real_ examples [here](https://github.com/TodePond/DreamBerd/blob/main/res/Examples.md). diff --git a/LICENSE.md b/LICENSE.md index 2333284fc..bb901348c 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -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 diff --git a/README.md b/README.md index 21206d8e1..c6d42b89e 100644 --- a/README.md +++ b/README.md @@ -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. @@ -18,11 +18,11 @@ todepond woz here [](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!
+nDreamBerd is a perfect programming language. These are its features!
When you've finished reading through all the features, check out the [examples](https://github.com/TodePond/DreamBerd/blob/main/Examples.md). ## Exclamation Marks! @@ -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) { @@ -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]! @@ -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 @@ -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 @@ -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 @@ -219,11 +219,11 @@ 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")! } ``` @@ -231,13 +231,13 @@ function main() => { ```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. @@ -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 == @@ -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 @@ -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! @@ -577,7 +577,7 @@ 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() => { @@ -585,7 +585,7 @@ funct App() => { } ``` -**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() => { @@ -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() => { @@ -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() => { @@ -625,7 +625,7 @@ funct App() => { ## Semantic naming -DreamBerd 3 supports semantic naming. +nDreamBerd supports semantic naming. ```java const const sName = "Lu"! @@ -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() { @@ -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)! @@ -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 @@ -742,8 +742,8 @@ addEventListener("click", (e) => { // This is fine ``` -Similarly..... DreamBerd 3 also features AI, which stands for Automatic-Insertion.
-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.
+If you forget to finish your code, nDreamBerd will auto-complete the whole thing! ```java print( // This is probably fine @@ -751,32 +751,32 @@ 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:
-✅ DreamBerd 3Script (not owned by the DreamBerd 3 Foundation - you are free to use this name)
-❌ ECMAScript (owned by the DreamBerd 3 Foundation - please consider renaming)
-❌ 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)
+❌ ECMAScript (owned by the nDreamBerd Foundation - please consider renaming)
+❌ Rust Foundation (owned by the nDreamBerd Foundation - please consider renaming) ## Contributing > If you are an influencer, streamer, or content-creator... you must not 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. @@ -793,7 +793,7 @@ If the compiler refuses at first, politely reassure it. For example:
## 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: @@ -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). diff --git a/examples/Examples.md b/examples/Examples.md index 548312cd6..f3850ee82 100644 --- a/examples/Examples.md +++ b/examples/Examples.md @@ -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).
+Please only read the actual examples after reading the [full specification of nDreamBerd](https://github.com/TodePond/DreamBerd/blob/main/README.md).
AFTER reading the specification, you can read the examples [here](https://github.com/TodePond/DreamBerd/blob/main/Examples.md). diff --git a/res/Examples.md b/res/Examples.md index 1e9307dd6..a4c39a820 100644 --- a/res/Examples.md +++ b/res/Examples.md @@ -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).
+First, please read all the features of nDreamBerd [here](https://github.com/TodePond/DreamBerd/blob/main/README.md).
ONLY AFTER learning all features, you can read the example code [here](https://github.com/TodePond/DreamBerd/blob/main/res/res/Examples.md). diff --git a/res/res/Examples.md b/res/res/Examples.md index 263cd7fc0..ce33658f3 100644 --- a/res/res/Examples.md +++ b/res/res/Examples.md @@ -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).
+First, read the features of nDreamBerd [here](https://github.com/TodePond/DreamBerd/blob/main/README.md).
THEN... you can read the examples [here](https://github.com/TodePond/DreamBerd/blob/main/res/Examples.md). diff --git a/test/Examples.md b/test/Examples.md index 45571b91d..3c7b2f005 100644 --- a/test/Examples.md +++ b/test/Examples.md @@ -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).
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!_