This Extension adds support for the Squirrel Programming Language (specifically Electric Imp flavored Squirrel) and its associated .nut files.
From the author of Squirrel:
"Squirrel is a high level imperative, object-oriented programming language, designed to be a light-weight scripting language that fits in the size, memory bandwidth, and real-time requirements of applications like video games" (or in Electric Imp's case, embedded ARM microcontrollers).
- class - class definition
- constr - constructor definition
- for - for (initialize; max; evaluate) { }
- foreach - foreach (element in collection)
- func - function name(args) { }
- if - if (statement) { }
- l - local variable
- The Complete imp API - Up to date as of Nov 7, 2016 (impOS Release 34)
- the .tmLanguage grammar file is based off of https://github.com/electricimp/ElectricImp-Sublime with some minor fixes per https://github.com/babel/babel-sublime/commit/9c7d32faecbf53e8984d7ab743f7408032286c44 sublime-completions
- the native Squirrel snippets are originally from https://github.com/robmerrell/squirrel-tmbundle