summaryrefslogtreecommitdiff
path: root/script/vm/compiler.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/vm/compiler.lua')
-rw-r--r--script/vm/compiler.lua25
1 files changed, 0 insertions, 25 deletions
diff --git a/script/vm/compiler.lua b/script/vm/compiler.lua
deleted file mode 100644
index 51fc5962..00000000
--- a/script/vm/compiler.lua
+++ /dev/null
@@ -1,25 +0,0 @@
-local files = require 'files'
-
----@class vm.compiler
-local m = {}
-
-for uri in files.eachFile() do
- local state = files.getState(uri)
- if state then
- --m.compileGlobalNodes(state.ast)
- end
-end
-
-files.watch(function (ev, uri)
- if ev == 'update' then
- local state = files.getState(uri)
- if state then
- --m.compileGlobalNodes(state.ast)
- end
- end
- if ev == 'remove' then
- --collector:dropUri(uri)
- end
-end)
-
-return m