summaryrefslogtreecommitdiff
path: root/docs/language-reference/03-preprocessor.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/language-reference/03-preprocessor.md')
-rw-r--r--docs/language-reference/03-preprocessor.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/language-reference/03-preprocessor.md b/docs/language-reference/03-preprocessor.md
new file mode 100644
index 000000000..de579efe0
--- /dev/null
+++ b/docs/language-reference/03-preprocessor.md
@@ -0,0 +1,19 @@
+> Note: This document is a work in progress. It is both incomplete and, in many cases, inaccurate.
+
+Preprocessor
+============
+
+Slang supports a C-style preprocessor with the following directives:
+
+* `#include`
+* `#define`
+* `#undef`
+* `#if`, `#ifdef`, `#ifndef`
+* `#else`, `#elif`
+* `#endif`
+* `#error`
+* `#warning`
+* `#line`
+* `#pragma`
+
+> Note: This section is not yet complete.