Commit Graph
6 Commits
Author SHA1 Message Date
Your NameandClaude Opus 5.5 9b496a7b03 Let a file without main be checked as a module
Editor diagnostics and 'rex check' no longer report a missing main:
the file may be a module other files import. 'rex build' and 'rex run'
still need it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 18:11:51 +01:00
Your NameandClaude Opus 5.5 36eacc0011 Fix local C headers when rex runs inside their folder
The header's folder was an empty path there, so a bare -I swallowed the
'-' (stdin) argument and cc failed with 'no input files'. Pass the
header's absolute folder instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 15:10:15 +01:00
Your NameandClaude Opus 5.5 a68c720755 Let a Rex file wrap a C header with the same name
Structs from C headers get their own table names, so raylib.rex can
wrap "raylib.h" and still have its own Color. Ignore Opcode's
.opcode file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 14:08:46 +01:00
Your NameandClaude Opus 5.5 7cf9727bcd 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>
2026-11-08 13:51:23 +01:00
Your NameandClaude Opus 5.5 2f44f09b6a Add C and C++ library support
import "zlib.h" reads the header (cc -E + a small C declaration
parser), links via pkg-config or link "name", and builds .c/.cpp
files next to the program. C structs become Dino structs, pointers
become pointer types (nil = NULL), T* parameters take variables or
lists. Adds dino header, editor completion/hover for C names,
docs chapter 13, a raylib example, and tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 12:55:41 +01:00
Your NameandClaude Sonnet 5.5 eaf9567a36 Dino compiler: language, formatter, language server, docs, editor support
Compiler in Rust (lexer, parser, checker, C codegen), maps, chars,
dino fmt, dino lsp (diagnostics, formatting, outline, definition,
hover, completion, signature help), docs, examples, VS Code/Vim files.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 23:46:12 +01:00