@fmlemos
The GitHub repo for Codea add-ons is here. It has a base template and 2 examples: GitHub - twolivesleft/Codea-Addons: A collection of basic Codea addons for getting started extending the runtime
You’d have to write the Objective-C bridge between the FLIC API and Codea. This would only work in Codea projects once they’ve been exported to Xcode, you wouldn’t be able to access them from the Codea app itself. For them to be be accessible from Codea, you’re dependent on the TwoLivesLeft team creating
bindings, a simplified and user friendly API, documentation and bug testing.
which sounds like a lot of dev effort to me 
It looks like the FLIC App can be configured to open a URL. In that case, you just need a code-executing program that has a URL scheme. As far as I know, Pythonista is the only one, see here: The Pythonista URL Scheme — Python 3.6.1 documentation
So the students would use Pythonista to write the script they want to be executed when the FLIC button is pressed, then you’d enter into the FLIC App the URL that runs the Pythonista script, eg pythonista://MyFLICButtonScript?action=run&args=long%20press
, and the script should run on press (I don’t have the FLIC button or App, but from reading the API tutorial, it seems to work via url schemes. You’d need to check whether the app does allow custom urls to be registered. It looks like it does).
I think Lua is a slightly friendlier language for complete beginners than Python, but lots of students are taught Python as their first language (it’s certainly a much more widely used language than Lua).
Incidentally, it is possible to open Codea with a URL. The URL isn’t codea://
though, it’s db-cj1xdlcmftgsyg1://
B) However, it’s not possible to make Codea do anything like run a program from this url call. I think that asking for ?action=run
support in Codea’s url-scheme would be a much better feature-request than asking for FLIC support, as url-schemes are an open and widely used standard that have multiple applications, whereas FLIC button support only targets FLIC buttons.
Finally, if you’re interested in programming robots from an iPad, have a look at this post on controlling a Sphero using Swift Playgrounds: Use iPad to Program Robots with Swift Playgrounds - Swift Blog - Apple Developer