Mercurial > repo
view interps/dimensifuck/test.py @ 2860:732dad497525
<Jafet> echo \'int main(void) {asm("xor %eax, %eax;""mov %eax, %edx;""inc %eax;""mov %eax, %edi;""call x;"".ascii \\"Hello, world!\\\\n\\";""x: pop %esi;""mov $14, %dl;""syscall;""mov $60, %al;""xor %edi, %edi;""syscall;");}\' >hi.c && gcc hi.c -o hi && ./hi
author | HackBot |
---|---|
date | Sun, 05 May 2013 16:02:03 +0000 |
parents | 859f9b4339e6 |
children |
line wrap: on
line source
#!/usr/bin/env python from dimensifuck import * a = Dimensifuck() a.loadMatrix("0^+=^\n" "1_ _\n" "2v=.v\n") a.run() a.loadFile("Madness.dim") a.run(verbose = True)