Talk:LuaRocks
| This article is rated Start-class on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||||||||||||
| ||||||||||||||||||
LuaOnTheRocks
It's often handy to be able to dump Lua tables to a human-readable format and paste them e.g into Excel for ad hoc analysis. There are lots of snippets on the Web, and for years I had a short one that worked fine - but I couldn't find it this time of asking. So I Googled and unfortunately found what looked like a good idea, convert to JSON, complete with an example using luarocks.
This may work on UNIX systems, but it's a total mess on on Windows despite what is claimed. At first glance the install instructions look quite detailed (not simple, but that's not to be expected in a conversion like this). So a key step will be to run their INSTALL.BAT. A quick search to see what nasties might be hidden there. A longer, more careful search - there ain't no INSTALL.BAT!!!
After a few hours of applying chewing gum, I rerun my working Lua program MYPROG -f afile.lua > myfile.out "Error while executing script from MYPROG": afile.lua:26: module 'luarocks.loader' not found: 109.26.41.115 (talk) 22:50, 3 December 2023 (UTC)
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.