From a03c54d233e1d8dac2e78096d714c2d3d0e40c3c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jaakko=20Kera=CC=88nen?= jaakko.keranen@iki.fi
Date: Tue, 3 Dec 2024 20:17:43 +0200
Subject: [PATCH 1/1] Added jked syntax highlighting
.gitignore | 1 +
.jked/the_Foundation.jked | 40 +++++++++++++++++++++++++++++++++++++++
2 files changed, 41 insertions(+)
create mode 100644 .jked/the_Foundation.jked
diff --git a/.gitignore b/.gitignore
index c54d533..25c82eb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@ build
build-*
.DS_Store
*~
+.jked/config.jked
diff --git a/.jked/the_Foundation.jked b/.jked/the_Foundation.jked
new file mode 100644
index 0000000..5ee4cfe
--- /dev/null
+++ b/.jked/the_Foundation.jked
@@ -0,0 +1,40 @@
+# Additions to the C syntax rules specific to the_Foundation.
+name: C
+style: ^(?!.?//)(?!.?/*).*\b(i(True|False|NullRange|Assert|InvalidPos|InvalidSize|Clamp|Clob|Swap|Max|Min|Release(Ptr)?))\b
+style: ^(?!.?//)(?!.?/*).*\b(i((Const)?ForEach(Reverse)?|ForIndices|(Declare|Define)\w+|Connect|Disconnect(Object)?))\b
+style: \bi(Any(Object)?|Bool|Char|MultibyteChar|Range[isfd]|Rangeui|Rangecc|Address|Archive|Audience|Array|AtomicInt|Block(Hash)?|Buffer|Class|CommandLine|Datagram|File|FileInfo|Rect|Stream|String(Array|Hash(Node)?|List|Set)?|Hash|IntSet|List|Map(Node)?|Mutex|Condition|Object(List)?|Process|Ptr(Array|Set)|Queue|RegExp(Match)?|Pipe|Service|Socket|SortedArray|Thread(Pool)?|Time|Tls(Certificate|Request)|Toml|Int2|Float[34]|Bool[34v]|Mat[34]|WebRequest|Xml(Document|Element|Attribute)|\w+Iterator)\b
+style: \bi(LocalDef|BeginPublic|EndPublic)\b
+style: \b[a-z][A-Za-z0-9]+_A-Z+\b
+style: \b(\w+_)\b
+style: \b[a-z][A-Za-z0-9]+_(A-Z+)\s*(
+style: \b([a-z][A-Za-z0-9]+A-Z+)\s*(
+style: \bClass_\w+\b
+style: struct\s+(Impl_\w+)
+style: \b(d)(->|\b)
--
2.25.1
text/plain
This content has been proxied by September (3851b).