view interps/dimensifuck/test.py @ 12263:7829671dc5b3 draft

<b_jonas> addwhatis randquote(1hackeso) - print a random quote matching a regular expression
author HackEso <hackeso@esolangs.org>
date Sun, 08 Dec 2019 00:31:29 +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)