Rename the language from Dino to Rex
Files use .rex, the command is rex, and the crate, runtime prefixes, docs, editor files and examples all use the new name. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
2f44f09b6a
commit
7cf9727bcd
94 files changed
+858
-858
No files matched your search
+5
-5
@@ -1,6 +1,6 @@
|
||||
# Dino: learn the language
|
||||
# Rex: learn the language
|
||||
|
||||
Dino is a small, fast, modern language. It looks like Go, runs like C, and has no
|
||||
Rex is a small, fast, modern language. It looks like Go, runs like C, and has no
|
||||
garbage collector, no pointers, and nothing low-level to write. You write plain code;
|
||||
the compiler works out the memory.
|
||||
|
||||
@@ -25,11 +25,11 @@ These notes teach it from zero. Read them in order, or jump to the
|
||||
|
||||
## How to read the examples
|
||||
|
||||
Every `dino` block that has a `func main` is a complete program you can save and run.
|
||||
Every `rex` block that has a `func main` is a complete program you can save and run.
|
||||
The block right after it (marked `text`) shows what it prints.
|
||||
|
||||
````
|
||||
```dino
|
||||
```rex
|
||||
func main() {
|
||||
print("hello")
|
||||
}
|
||||
@@ -39,7 +39,7 @@ hello
|
||||
```
|
||||
````
|
||||
|
||||
## The four ideas behind Dino
|
||||
## The four ideas behind Rex
|
||||
|
||||
1. **Values.** `var b = a` makes a real copy. Change `b` and `a` stays the same.
|
||||
There are no hidden aliases, which makes programs easy to reason about.
|
||||
|
||||
Reference in new issue
Block a user