aboutsummaryrefslogtreecommitdiff
path: root/plugin/AGENTS
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-10-14 03:40:32 +0000
committer_ov4 <ov4@ov4.org>2026-10-14 03:40:32 +0000
commitfed12356ba4cd7c36b10fe5191878c7348d27206 (patch)
treecc8c255c1e5f422c3bca9f3546d2d878d5f40cc0 /plugin/AGENTS
parent97a7614bf16c27ac0f7c22340f9a0ba0ba716ade (diff)
feat(plugin): highlight native C types and imports
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Diffstat (limited to 'plugin/AGENTS')
-rw-r--r--plugin/AGENTS/ARCH.md4
1 files changed, 4 insertions, 0 deletions
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,