summaryrefslogtreecommitdiff
path: root/docs/type_system/ir.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/type_system/ir.md')
-rw-r--r--docs/type_system/ir.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/type_system/ir.md b/docs/type_system/ir.md
new file mode 100644
index 0000000..5593bc3
--- /dev/null
+++ b/docs/type_system/ir.md
@@ -0,0 +1,17 @@
+# Ir
+
+---
+
+```text
+Ir[[IR_NAME] Address[3]]
+```
+
+`IR_NAME` is a single value
+
+## Type Body Object Definitions
+
+```c
+typedef struct {
+ kpl_ptr address[3];
+} kpl_type_body_ir;
+```