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

+3 -3
View File
@@ -1,4 +1,4 @@
//! The code formatter behind `dino fmt`.
//! The code formatter behind `rex fmt`.
//!
//! It works on the text, not on the syntax tree, so comments and blank lines survive. It
//! never moves a line break: it fixes the indentation, the spaces between tokens and runs of
@@ -49,11 +49,11 @@ pub fn format(src: &str) -> Result<String, Diag> {
// the safety net: the same tokens in, the same tokens out
let before = fingerprint(src)?;
let after = fingerprint(&out).map_err(|d| {
Diag::new(format!("the formatter produced code that doesn't lex ({}); this is a bug in `dino fmt`", d.msg), d.span)
Diag::new(format!("the formatter produced code that doesn't lex ({}); this is a bug in `rex fmt`", d.msg), d.span)
})?;
if before != after {
return Err(Diag::new(
"the formatter would change the meaning of this file; this is a bug in `dino fmt`, nothing was written",
"the formatter would change the meaning of this file; this is a bug in `rex fmt`, nothing was written",
crate::ast::Span::default(),
));
}