Skip to content

Instantly share code, notes, and snippets.

@qoh
Created January 29, 2019 17:37
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save qoh/f718a8859b7d6d280f64c8a7f44442b7 to your computer and use it in GitHub Desktop.
Save qoh/f718a8859b7d6d280f64c8a7f44442b7 to your computer and use it in GitHub Desktop.
// TODO: if without else
// TODO: float
if (%ab)
break;
else
{
continue;
}
while (%ng["hel\nlo"])
{
}
for (mngfna; %x.y; $a.b[break])
{
}
datablock _0A_z(AaA_)
{
datablock = 1;
dataBlock = 2;
};
datablock BBB(x : z)
{
b = 3;
};
switch (1236542)
{
case 0x52abEF3 or 'clayton' or 'crackers':
return;
return ~a;
case !a:
default:
x();
}
switch$ (a @ b)
{
case %a::a:a:
}
%_a:5a = a !$= b;
$z::f_++;
%a[a ? b : c] = a $= b;
%a:a:a[*a, -b]--;
(a >= b).x = a && b;
(a > b).x[a / b] += a - b;
(a < b).x = { a >> b, a << b };
function x()
{
x::y(a || b);
(a * b).m(a != b, a == b, a <= b);
}
package g
{
function z::t(%a)
{
new om(2^31 - 1);
new a();
new a( : b);
new a() {};
new a( : b) {};
new a(){new b(:c);new x();};
new f() { a = 7; datablock = 5; };
new u() { k = g; d = s; new c(); new x(); };
}
function h(%a, $b)
{
return 3**4;
}
};
package u
{
function v()
{
return a + b;
return a | b;
}
};
function w::k()
{
return a & b;
return a % b;
}
return a ^ b;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment