Luna is a portable command-line converter of Lua and Python scripts to TNS TI-Nspire documents.
Lua scripts require OS 3.0.2 or later, and Python scripts require CX II OS 5.2 or later.
It can also be used to convert any TI-Nspire problems in XML format to TNS documents.
luna INFILE.lua OUTFILE.tns
luna Problem1.xml OUTFILE.tns
luna Document.xml Problem1.xml [Problem2.xml...] OUTFILE.tns
luna InFile1.py [InFile2.py...] OUTFILE.tns
If the input is -
, it reads the file from the standard input.
Make sure to encode your Lua or Problem file in UTF-8 if it contains special characters. You can also pack arbitrary files like images into the TNS.
For Python, the first script will be the one that shows when the TNS document is opened.
Please use the GitHub issue tracker.
Luna is licensed under the Mozilla Public License v1.1.
Luna is based on a derived version of MiniZip. See minizip-1.1/MiniZip64_info.txt for more information.
Luna includes cryptographic software written by Eric Young (eay@cryptsoft.com), see the DES.* files for more information.
You need the zlib (zlib1g-dev/zlib-devel) development library. On macOS, you can use brew: brew install zlib
Then you can just run make
.
2022-09-29: v2.1
2016-12-28: v2.0
2016-12-27: v1.0.1
2016-12-27: v1.0
2012-06-26: v0.3a
2012-06-24: v0.3
2011-11-10: v0.2b
2011-09-27: v0.2a
2011-09-19: v0.2
2011-08-08: v0.1b
2011-08-06: v0.1a
2011-08-05: v0.1