summaryrefslogtreecommitdiff
path: root/qualifiers.txt
diff options
context:
space:
mode:
Diffstat (limited to 'qualifiers.txt')
-rw-r--r--qualifiers.txt71
1 files changed, 71 insertions, 0 deletions
diff --git a/qualifiers.txt b/qualifiers.txt
new file mode 100644
index 0000000..835a5f5
--- /dev/null
+++ b/qualifiers.txt
@@ -0,0 +1,71 @@
+block qualifier list:
+
+interface**
+enum**
+loop
+match
+if
+else
+method*
+override*
+raw
+inline
+export
+module
+case
+default
+operator*
+
+
+
+structure of blocks:
+
+(block start)
+ interface (defword)
+ enum (defword) (return type list)
+
+ loop (bool params) (loop rets)
+ if (bool params)
+ else
+ if (bool params)***
+
+ match (match params) (case blocks)
+ case (case params)
+ default
+
+ override***
+ method (defword) (function params) (function rets)
+ operator <unary operator> (ret)
+ operator <binary operator> (param) (ret)
+
+ export***
+ module (defword)
+
+ inline***
+ raw***
+ (defword) (function params) (function rets)
+(block end)
+
+
+
+structure of statements:
+
+(type) (definition list)
+(value)
+(keyword) (parameters if required)
+
+
+
+keyword statements:
+
+delete (list of defwords)*
+struct (defword) (struct params)*
+continue
+break
+label (defword)
+goto (defword)
+asm (defstring)
+
+* - type extension
+** - advanced type extension
+*** - optional modifier