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:
Your NameandClaude Opus 5.5 committed 2026-11-08 13:51:23 +01:00
1 parent 2f44f09b6a
commit 7cf9727bcd
94 files changed
+858 -858

No files matched your search

+4 -4
View File
@@ -10,7 +10,7 @@ and it also happens on an early `return`, `break`, `continue` or `?`.
Giving a value a new owner **copies** it:
```dino
```rex
func main() {
var a = [1, 2, 3]
var b = a // b is a real copy
@@ -36,7 +36,7 @@ All tests of the compiler run under a memory checker, so leaks and double frees
Sometimes you really do want several owners of **one** value (a texture used by many
sprites, a window and its buttons). Write `shared`:
```dino
```rex
struct Texture {
name: string
uses: int
@@ -75,7 +75,7 @@ func main() {
If a window owns its buttons and each button owns its window, neither would ever be freed.
Make one side `weak`: it points at the value without keeping it alive.
```dino
```rex
struct Window {
title: string
buttons: []shared Button
@@ -118,7 +118,7 @@ OK clicked, window is gone
- To use the value as an owner, call `w.upgrade()`. It gives a `shared T?`: the value
(now with one more owner, so it can't vanish while you hold it) or `nil`.
```dino
```rex
struct Node { name: string }
func main() {