summary refs log tree commit diff stats
path: root/data/magic.yml
diff options
context:
space:
mode:
Diffstat (limited to 'data/magic.yml')
-rwxr-xr-xdata/magic.yml176
1 files changed, 176 insertions, 0 deletions
diff --git a/data/magic.yml b/data/magic.yml
new file mode 100755
index 000000000..a126b8075
--- /dev/null
+++ b/data/magic.yml
@@ -0,0 +1,176 @@
+# All the magics of the system module:
+# order has been changed!
+[
+'None',
+'Defined',
+'New',
+'NewFinalize',
+'Low',
+'High',
+'SizeOf',
+'RegisterFinalizer',
+'Succ',
+'Pred',
+'Inc',
+'Dec',
+'LengthOpenArray',
+'LengthStr',
+'LengthArray',
+'LengthSeq',
+'Incl',
+'Excl',
+'Card',
+'Ord',
+'Chr',
+
+# binary arithmetic with and without overflow checking:
+'AddI',
+'SubI',
+'MulI',
+'DivI',
+'ModI',
+'AddI64',
+'SubI64',
+'MulI64',
+'DivI64',
+'ModI64',
+
+# other binary arithmetic operators:
+'ShrI',
+'ShlI',
+'BitandI',
+'BitorI',
+'BitxorI',
+'MinI',
+'MaxI',
+'ShrI64',
+'ShlI64',
+'BitandI64',
+'BitorI64',
+'BitxorI64',
+'MinI64',
+'MaxI64',
+'AddF64',
+'SubF64',
+'MulF64',
+'DivF64',
+'MinF64',
+'MaxF64',
+'AddU',
+'SubU',
+'MulU',
+'DivU',
+'ModU',
+'AddU64',
+'SubU64',
+'MulU64',
+'DivU64',
+'ModU64',
+
+# comparison operators:
+'EqI',
+'LeI',
+'LtI',
+'EqI64',
+'LeI64',
+'LtI64',
+'EqF64',
+'LeF64',
+'LtF64',
+'LeU',
+'LtU',
+'LeU64',
+'LtU64',
+'EqEnum',
+'LeEnum',
+'LtEnum',
+'EqCh',
+'LeCh',
+'LtCh',
+'EqB',
+'LeB',
+'LtB',
+'EqRef',
+'EqProc',
+'EqUntracedRef',
+'LePtr',
+'LtPtr',
+'EqCString',
+'Xor',
+
+# unary arithmetic with and without overflow checking:
+'UnaryMinusI',
+'UnaryMinusI64',
+'AbsI',
+'AbsI64',
+
+# other unary operations:
+'Not',
+'UnaryPlusI',
+'BitnotI',
+'UnaryPlusI64',
+'BitnotI64',
+'UnaryPlusF64',
+'UnaryMinusF64',
+'AbsF64',
+'Ze',
+'Ze64',
+'ToU8',
+'ToU16',
+'ToU32',
+'ToFloat',
+'ToBiggestFloat',
+'ToInt',
+'ToBiggestInt',
+
+# special ones:
+'And',
+'Or',
+'EqStr',
+'LeStr',
+'LtStr',
+'EqSet',
+'LeSet',
+'LtSet',
+'MulSet',
+'PlusSet',
+'MinusSet',
+'SymDiffSet',
+'ConStrStr',
+'ConArrArr',
+'ConArrT',
+'ConTArr',
+'ConTT',
+'Slice',
+'AppendStrCh',
+'AppendStrStr',
+'AppendSeqElem',
+'AppendSeqSeq',
+'InRange',
+'InSet',
+'Is',
+'Asgn',
+'Repr',
+'Exit',
+'SetLengthStr',
+'SetLengthSeq',
+'Assert',
+'Swap',
+
+# magic type constructors:
+'Array',
+'OpenArray',
+'Range',
+'Tuple',
+'Set',
+'Seq',
+
+# magic constants:
+'CompileDate',
+'CompileTime',
+'NimrodVersion',
+'NimrodMajor',
+'NimrodMinor',
+'NimrodPatch',
+'CpuEndian'
+]