summaryrefslogtreecommitdiff
path: root/qualifiers.txt
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2021-04-30 14:06:58 -0400
committerKyle Gunger <kgunger12@gmail.com>2021-04-30 14:06:58 -0400
commitc625ed1cfe7f7ea4ab2a75a8a0a6a6772f86431c (patch)
tree55aab8a27a6cd3b0a979002afa6899a4bda94b74 /qualifiers.txt
parent60f7c4f7272079e635010e464d8ce3a3a427f97f (diff)
Destroy my own code by using goto
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