diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2020-01-31 18:28:10 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2020-01-31 18:28:10 +0000 |
| commit | 16962e1836251526fa08895b1a76dd72b7fd5ef9 (patch) | |
| tree | ef60d08e792825407d41fb77c14c26ecb135e2fc /main.moon | |
| parent | nested parens in comments (diff) | |
| download | alive-16962e1836251526fa08895b1a76dd72b7fd5ef9.tar.gz alive-16962e1836251526fa08895b1a76dd72b7fd5ef9.zip | |
modularize
Diffstat (limited to 'main.moon')
| -rw-r--r-- | main.moon | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/main.moon b/main.moon deleted file mode 100644 index 9d15f34..0000000 --- a/main.moon +++ /dev/null @@ -1,19 +0,0 @@ -sleep = require 'sleep' -import Copilot from require 'copilot' - -class Environment - spawn: (sexpr) => - print "spawning [#{sexpr.tag}]" - - patch: (new, old) => - -- print "patching [#{new.tag}]" - - destroy: (sexpr) => - print "destroying [#{sexpr.tag}]" - -env = Environment! -copilot = Copilot arg[1], env - -while True - sleep 0.01 - copilot\patch! |
