Skip to content

Instantly share code, notes, and snippets.

@nddrylliog
Created March 10, 2014 19:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nddrylliog/9472142 to your computer and use it in GitHub Desktop.
Save nddrylliog/9472142 to your computer and use it in GitHub Desktop.
stack traceback:
[C]: in function 'require'
[string "assets/lua/lestac/scenes/playground.moon"]:5: in main chunk
[C]: in function 'require'
[string "assets/lua/lestac/app.moon"]:8: in main chunk
[C]: in function 'require'
assets/lua/init.lua:27: in main chunk
-- ooc
dye_sprite = require 'dye:dye/sprite'
dye_text = require 'dye:dye/text'
dye_primitives = require 'dye:dye/primitives' -- not it
dye_input = require 'dye:dye/input'
chipmunk = require 'chipmunk:chipmunk/Highlevel' -- it
cpv = chipmunk.CpUtils.cpv
-- dark magic
ffi = require 'ffi'
$ moonc -X assets/lua/lestac/scenes/playground.moon | egrep '^[0-9]*\s*[^0-9]5:\['
164 5:[ local chipmunk = require('chipmunk:chipmunk/Highlevel') ] >> 8:[ chipmunk = require 'chipmunk:chipmunk/Highlevel' ]
$ moonc -X assets/lua/lestac/app.moon | egrep '^[0-9]*\s*[^0-9]8:\['
258 8:[ local playground = require('lestac.scenes.playground') ] >> 14:[ playground = require 'lestac.scenes.playground' ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment