summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authornodist <kevin.comas.git@gmail.com>2026-06-18 09:50:37 -0400
committernodist <kevin.comas.git@gmail.com>2026-06-18 09:50:37 -0400
commit900445604bc38ef43d89f0c11f0cc61ce3cb0bce (patch)
tree3d93a2e960a1b15714a59fc2f6563d77a04603a9 /docs
parent0851f961defa2e39d65815b8946238431c54a15f (diff)
char literal example
Diffstat (limited to 'docs')
-rw-r--r--docs/language/index.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/language/index.md b/docs/language/index.md
index 4454306..c0c4792 100644
--- a/docs/language/index.md
+++ b/docs/language/index.md
@@ -51,10 +51,11 @@ Underscores `_` can separate digits in a number
1_ // Invalid
```
-## String Literals
+## String and Char Literals
```text
"Asdf\n"
+'A'
```
Any UTF-8 glyph is allowed between `""`
@@ -62,6 +63,7 @@ Any UTF-8 glyph is allowed between `""`
```text
Ω // Invalid code
"Ω" // Valid code
+'Ω' // Valid code
```
## Variable Names