This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
AliasXNeo's profile picture

Question about external libraries

Started by AliasXNeo, 06 January 2013 - 04:56 AM
AliasXNeo #1
Posted 06 January 2013 - 05:56 AM
Greetings,

Just curious if it is at all possible to load external libraries inside of CC? For instance, I'd love if I could use something like: http://moonscript.org/. Is this possible? Cheers.
Orwell #2
Posted 06 January 2013 - 06:54 AM
In the case of moonscript, no. It depends on LuaFilesystem which is written in C. You might be able to tweak it to using fs, but I'm not sure how feasible that is. In case of pure lua scripts, you can load them as a 'library': http://www.computercraft.info/wiki/OS_%28API%29#api