Initial import

This commit is contained in:
Andreas Rumpf 2008-06-22 16:14:11 +02:00
commit 405b86068e
324 changed files with 163599 additions and 0 deletions

176
data/magic.yml Executable file
View file

@ -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'
]