a wee bit of work for debug or something

This commit is contained in:
Paul Liverman III 2017-01-02 17:30:55 -08:00
parent 3ec0067799
commit 3870b20e9f
6 changed files with 14 additions and 2 deletions

3
.gitmodules vendored
View File

@ -4,3 +4,6 @@
[submodule "lib/middleclass"]
path = lib/middleclass
url = https://github.com/kikito/middleclass.git
[submodule "lib/inspect.lua"]
path = lib/inspect.lua
url = https://github.com/kikito/inspect.lua.git

3
build.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
moonc ./util.moon ./init.moon ./main.moon ./elements/

View File

@ -1,6 +1,7 @@
file = {
"init.moon",
"elements/element.moon",
"elements/window.moon",
"main.moon",
"util.moon",
"Element.luadoc",

1
lib/inspect.lua Submodule

@ -0,0 +1 @@
Subproject commit a384174649e8429cc3270a46cfacc37acaf6e042

View File

@ -1,2 +1,3 @@
local pop = require("")
return print(pop, pop.elements)
local inspect = require("lib/inspect/inspect")
print(inspect(pop))

View File

@ -5,6 +5,9 @@
pop = require ""
--- @todo write this!
print(pop, pop.elements) --NOTE TEMPORARY
-- NOTE TEMPORARY
inspect = require "lib/inspect/inspect"
print inspect pop
return --this is to prevent default returning of last statement