Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 1.55 KB

quickstart.md

File metadata and controls

38 lines (25 loc) · 1.55 KB

Quickstart guide

1. Install sol-tools

2. Create new project

  • Start sol
  • Type new and follow the instructions for creating a new project

3. Look around

  • I recommend using VS Cod(e/ium) for working on your project
  • Your main Lua code, like app logic, GUI components etc., is in app.lua
  • See here for other files
  • Your GUI components are inside the components/ folder
    • Every component has its own file
    • They are written in YAML (easy-to-learn key-value language)
    • You can access you components directly from Lua code
    • see components for more info
  • App metadata, like developer name, license, etc is in solproj.yml
  • Other data is located in the res/ folder
    • res/img/ for images (they are compiled into the project and can be also accessed directly from Lua and components)
    • res/data for YAML-based static application data

4. Compile your project

Use either the interactive dialog (start sol, type build and follow the instructions) or the automated mode (sol -a build <project-folder>).

Use Luna to create a .tns file or copy out.lua into the official TI software.

You can also use make on Linux (make build creates a .tns file assuming you have Luna installed).

5. Try it out!

Load the .tns file onto you calculator, either using the official TI software or other tools.