Code Monkey home page Code Monkey logo

luna-1's Introduction

Luna 2.0

Luna is a portable command-line converter of Lua programs to TNS TI-Nspire documents, compatible with OS 3.0.2 and later.

It can also be used to convert any TI-Nspire problems in XML format to TNS documents.

Usage

  • Lua program conversion: luna INFILE.lua OUTFILE.tns
  • Problem conversion: luna Problem1.xml OUTFILE.tns
  • Multiple files: luna Document.xml Problem1.xml [Problem2.xml...] 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.

Bugs, feedback...

Please use the GitHub issue tracker.

License

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 ([email protected]), see the DES.* files for more information.
The JS version uses FileSaver.js, MIT-licensed.

Building it yourself

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.

History

2016-12-28: v2.0

  • NEW: No OpenSSL library dependency anymore, just use the relevant DES code.
  • FIX: Fix crash when parsing deeply nested XML documents

2016-12-27: v1.0.1

  • NEW: Show Luna version in usage message
  • FIX: Some minor warnings

2016-12-27: v1.0

  • NEW: Install target in Makefile
  • NEW: Add support for .BMP resources
  • NEW: License under Mozilla Public License v1.1
  • FIX: Fix build with OpenSSL 1.1 using newer DES API

2012-06-26: v0.3a

  • FIX: build options for Mac/Linux
  • FIX: skip UTF-8 BOM if any
  • FIX: compatibility with some Unicode characters such as Chinese ones

2012-06-24: v0.3

2011-11-10: v0.2b

  • FIX: buffer overflow

2011-09-27: v0.2a

  • FIX: characters at the end of a Lua script might no be correctly XML-escaped (thanks Goplat)
  • FIX: wrong buffer size handling might cause '<' and '&' characters in Lua scripts to produce bad TNS files (thanks Goplat)
  • FIX: TNS documents were abnormally big because of trailing garbage data being encrypted (thanks Levak)

2011-09-19: v0.2

  • NEW: supports arbitrary TI-Nspire problem conversion, useful to build third-party document generators

2011-08-08: v0.1b

  • NEW: lua file can be provided from stdin
  • FIX: crash if input file doesn't exist

2011-08-06: v0.1a

  • Can be built on Linux

2011-08-05: v0.1

  • First release

luna-1's People

Contributors

adriweb avatar legimet avatar oliviera avatar vogtinator avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.