-
Notifications
You must be signed in to change notification settings - Fork 2
Description
I extracted the tar on my raspberry pi (uname is Linux raspberrypi 4.9.35-v7+) and installed luarocks to install lfs.
I copied crunch.lua from ./bin to ./lib so that it could find parser.main.
I made a simple test script which consisted of a table declaration, a loop populating it with random values, and then a second loop printing it.
I then ran lua crunch.lua test.lua. The resulting test.cr.lua file had a size of zero.
However, crunch still works in game.
I just realized that, due to this folder structure, it's not including anything in crunch. I have altered the filesystem list to include the working directory (added a true to the lib.list in loadModules() in crunch.lua). I now get an error, instead:
test.lua:eof: ./parser/main.lua:1160: attempt to index local 'toke' (a nil value).