From fed12356ba4cd7c36b10fe5191878c7348d27206 Mon Sep 17 00:00:00 2001 From: _ov4 Date: Wed, 14 Oct 2026 03:40:32 +0000 Subject: feat(plugin): highlight native C types and imports Co-Authored-By: Claude Fable 5.1 --- plugin/AGENTS/ARCH.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'plugin/AGENTS') diff --git a/plugin/AGENTS/ARCH.md b/plugin/AGENTS/ARCH.md index 8215615..b25a6d7 100644 --- a/plugin/AGENTS/ARCH.md +++ b/plugin/AGENTS/ARCH.md @@ -76,6 +76,10 @@ interrupt an interactive program with Ctrl+C before running another file. Follow the current compiler, rather than implementing every PDF feature: - Uppercase, case-sensitive keywords; ASCII `<-` assignment; `//` comments. +- Native C aliases C_INT/C_CHAR/C_STRING/C_DOUBLE and the C_TYPE import keyword + use type scopes. C_TYPE's quoted expression remains a string, and casts use + ordinary parentheses. `TYPE Name = C_TYPE("...")` is a single-line alias + declaration, so it does not open an indentation block. - Double-quoted strings and single-quoted characters have no escapes or multiline continuation. The compiler accepts `'''` as a quote character literal. - Blocks: IF/THEN/ELSE/ENDIF, WHILE/DO/ENDWHILE, REPEAT/UNTIL, FOR/NEXT, -- cgit v1.3.1-4-g156e