Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - indo

Pages: [1]
1
TI-Nspire / Lua workflow
« on: January 01, 2013, 02:40:14 am »
Tooling for Lua programming sucks.  The ScITE IDE has the best support of any IDE, but it is windows only.  IntelliJ requires setting up Lua locally and setting up a remote Lua debugging environment. The worst part of programming for the calculator is that TI makes large projects a major PITA as everything has to be in one large text file.

I think that solution is to create a web-like development workflow.  The calculator is a lot like a web-server, the local system is a mostly ;) identical staging-server, and the conversion process is a lot like LESS compilers and HTML compression.

I want to start putting all of these pieces together, but I am an intermediate-novice ;) and I want to try working collaboratively on a project.  Would anyone be interested in coordinating with me?

I think the first step is to implement a macro to replace 'require' imports with the actual text and then convert the file to a TNS document using Lua.  The next would be to add support for the NSpire APIs.  Andri put up a dummy library and the PCspire provides one that requires Love2D.

I was thinking of targeting Eclipse as it has a commercially backed Lua implementation and a powerful plug-in system.  It would also appear that we could tuck in Love2D and provide a remote run-time environment using nspire_emu.  However, I am a total newb to Eclipse plug-in development and Metalua, so I would (at the very least) need a lot of guidance to get this part working.

I would kill for Moonscript support, but as it uses LPeg and Eclipse Lua uses Metalua...

Anyway, thoughts?

Pages: [1]