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

+1 -1
View File
@@ -4,6 +4,6 @@ a true true 97 B a!
1 é
3 😀
h é l 2
DINO q plus newline other
REX q plus newline other
{b: 1, a: 3, n: 2}
abc true true true
@@ -23,7 +23,7 @@ func main() {
for i, ch in "aé😀" { print(i, ch) }
print(s[0], s[1], s[3], s[s.len() - 1])
var up = ""
for ch in "dino" { up += string(ch.upper()) }
for ch in "rex" { up += string(ch.upper()) }
print(up, 'Q'.lower(), kind('+'), kind('\n'), kind('z'))
var counts: map[char, int] = {}
for ch in "banana" { counts[ch] += 1 }
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
-3
View File
@@ -1,3 +0,0 @@
func main() {
print("Hello, Dino!")
}
+1 -1
View File
@@ -1 +1 @@
Hello, Dino!
Hello, Rex!
+3
View File
@@ -0,0 +1,3 @@
func main() {
print("Hello, Rex!")
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
+1 -1
View File
@@ -10,4 +10,4 @@ sq[4] = 16
[] 0
[a, b] 2 items
[1.0, 2.5, 3.0]
dino-lang 4
rex-lang 3
@@ -55,6 +55,6 @@ func main() {
var floats: []float = [1, 2.5, 3]
print(floats)
var words = ["dino", "lang"]
var words = ["rex", "lang"]
print(words[0] + "-" + words[1], words[0].len())
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -36,13 +36,13 @@ func main() {
time.sleep(0.01)
print(time.now() - t0 >= 0.01)
var err4 = os.write_file("/tmp/dino_std_test.txt", "one two\nthree\n\nfour five six\n")
var err4 = os.write_file("/tmp/rex_std_test.txt", "one two\nthree\n\nfour five six\n")
print(err4)
var lines, words, e5 = count("/tmp/dino_std_test.txt")
var lines, words, e5 = count("/tmp/rex_std_test.txt")
print(lines, words, e5)
var l2, w2, e6 = count("/tmp/definitely/not/here.txt")
print(l2, w2, e6)
print(os.exists("/tmp/dino_std_test.txt"), os.exists("/nope"))
print(os.exists("/tmp/rex_std_test.txt"), os.exists("/nope"))
print(os.args.len(), os.env("HOME_NOPE_X") == nil)
var home = os.env("PATH")
if home != nil { print(home.len() > 0) }
+1 -1
View File
@@ -1,4 +1,4 @@
Hello, Dino!
Hello, Rex!
n is 3, doubled 6, big? true
pi is about 3.75
true true false
@@ -3,7 +3,7 @@ func greet(name: string): string {
}
func main() {
var name = "Dino"
var name = "Rex"
print(greet(name))
var n = 3
print("n is {n}, doubled {n * 2}, big? {n > 2}")
File renamed without changes.
File renamed without changes.